Tracing xen
Dear Sir:
Hello, I'am a student in Xi'an JiaoTong University in China.
Recently, I was doing some
research by using the virtual machine monitor, Xen. I want to get some running
information
about the hypervisor, and some issuse bothered me a lot. Hence, I mail you to ask for help. The
issues include:
1. I used the 'xentrace' tool to collect the runnnig information
and then translated the binary result by 'xentrace_format formats', and get the final readable file. But most of the results are labelled 'unknown' events, except for 'page_grant_map', 'page_grant_transfer' and 'page_grant_unmap'. Is this the problem with my 'formats' file, or the monitor tool?
2.Are there any effectable tools to monitor the hypervisor, in
order to get some important running parameters? Such as the hypercalls, the actions in the Shadow Page Table.
Hope for your reply. Best wishes.
Yuhao Wang
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
2011/7/14 王玉昊 <[email protected]>:
Quoted 6 lines
Dear Sir:
Hello, I'am a student in Xi'an JiaoTong University in China.
Recently, I was doing some
research by using the virtual machine monitor, Xen. I want to get some
running information
about the hypervisor, and some issuse bothered me a lot. Hence, I mail you
Quoted 8 lines
to ask for help. The
issues include:
1. I used the 'xentrace' tool to collect the runnnig information
and then translated the binary result by 'xentrace_formatformats', and get the final readable file. But most of the results are labelled 'unknown' events, except for 'page_grant_map', 'page_grant_transfer'
and 'page_grant_unmap'. Is this the problem with my 'formats' file, or the monitor tool?
Hmm, I personally don't use the "xentrace_formats" file, so it tends to bit-rot unfortunately.
I think your best bet is to use the 'xenalyze' tool I've written. You can find the hg repository here:
http://xenbits.xensource.com/ext/xenalyze
There's a small (rather incomplete) html file included with instructions.
Quoted 3 lines
2.Are there any effectable tools to monitor the hypervisor, in
order to get some important running parameters? Such as the hypercalls, the actions in the Shadow Page Table.
If you look in xen/public/trace.h, you'll see all of the records which are traced. Hypercall numbers are traced, and there is extensive information collected about shadow pagetable operations and reported in xenalyze.
-George