|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Information required on TRACE_VMEXIT working.
When a VMEXIT happens, vmx_trace_vmexit() is called, and a trace
record is generated. (This includes an RDTSC timetamp). Then, as the
VMEXIT is handled, the various trace_values[] are filled in, depending
upon what kind of vmexit it is. Then, just before the next
[stupid mailer program...]
VMENTER, another trace record is generated with the values in
trace_values[]. This turns out to be a pretty powerful profiling and
analysis tool; the two RDTSC values can be used to calculate how many
cycles Xen spent in the hypervisor for any particular type of VMEXIT.
The records are only generated if tracing is actually enabled, of
course. See tools/xentrace and xen/public/trace.h for more
information.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|