diff options
author | George Dunlap <gdunlap@xensource.com> | 2007-09-21 15:26:07 +0100 |
---|---|---|
committer | George Dunlap <gdunlap@xensource.com> | 2007-09-21 15:26:07 +0100 |
commit | 2ec9f061dc68fc474238150bb1a21c5a882407b0 (patch) | |
tree | 64f5bc7e4013ae20fc2af77b64b841245106e372 /tools/debugger/xenitp/dis-asm.h | |
parent | 2aa818d3bb928b9c9cee965182b0e538748f2c41 (diff) | |
download | xen-2ec9f061dc68fc474238150bb1a21c5a882407b0.tar.gz xen-2ec9f061dc68fc474238150bb1a21c5a882407b0.tar.bz2 xen-2ec9f061dc68fc474238150bb1a21c5a882407b0.zip |
[xen][tracing] Introduce variable-size trace records
This patch introduces variable-size trace records. Each record consists of
a 32-bit "header", an optional cycle count, and up to seven more 32-bit words.
The header is packed with the following information:
bits 0-27: The trace event.
bits 28-30: The number of 32-bit "extra" words in the records
bit 31: Does the trace include a 64-bit tsc?
This patch standardizes behavior wrt 32 and 64-bit hypervisors and dom0s.
Note that this patch requires a new version of the xentrace daemon running in
dom0. The new daemon, instead of pre-pending the cpu to every record as it
writes it, inserts a "cpu change" record to the trace file that record the
cpu and the number of records it's about to write.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
Diffstat (limited to 'tools/debugger/xenitp/dis-asm.h')
0 files changed, 0 insertions, 0 deletions