26f7227bfe
This patch adds a simple tracer which produces binary trace files. To try out the simple backend: $ ./configure --trace-backend=simple $ make After running QEMU you can pretty-print the trace: $ ./simpletrace.py trace-events trace.log The output of simpletrace.py looks like this: qemu_realloc 0.699 ptr=0x24363f0 size=0x3 newptr=0x24363f0 qemu_free 0.768 ptr=0x24363f0 ^ ^---- timestamp delta (us) |____ trace event name Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> trace: Make trace record fields 64-bit Explicitly use 64-bit fields in trace records so that timestamps and magic numbers work for 32-bit host builds. Includes fixes from Prerna Saxena <prerna@linux.vnet.ibm.com>. Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
60 lines
689 B
Plaintext
60 lines
689 B
Plaintext
config-devices.*
|
|
config-all-devices.*
|
|
config-host.*
|
|
config-target.*
|
|
trace.h
|
|
trace.c
|
|
*-softmmu
|
|
*-darwin-user
|
|
*-linux-user
|
|
*-bsd-user
|
|
libdis*
|
|
libhw32
|
|
libhw64
|
|
libuser
|
|
qemu-doc.html
|
|
qemu-tech.html
|
|
qemu-doc.info
|
|
qemu-tech.info
|
|
qemu.1
|
|
qemu.pod
|
|
qemu-img.1
|
|
qemu-img.pod
|
|
qemu-img
|
|
qemu-nbd
|
|
qemu-nbd.8
|
|
qemu-nbd.pod
|
|
qemu-options.def
|
|
qemu-options.texi
|
|
qemu-img-cmds.texi
|
|
qemu-img-cmds.h
|
|
qemu-io
|
|
qemu-monitor.texi
|
|
QMP/qmp-commands.txt
|
|
.gdbinit
|
|
*.a
|
|
*.aux
|
|
*.cp
|
|
*.dvi
|
|
*.exe
|
|
*.fn
|
|
*.ky
|
|
*.log
|
|
*.pdf
|
|
*.pg
|
|
*.pyc
|
|
*.toc
|
|
*.tp
|
|
*.vr
|
|
*.d
|
|
*.o
|
|
.pc
|
|
patches
|
|
pc-bios/bios-pq/status
|
|
pc-bios/vgabios-pq/status
|
|
pc-bios/optionrom/linuxboot.bin
|
|
pc-bios/optionrom/multiboot.bin
|
|
pc-bios/optionrom/multiboot.raw
|
|
.stgit-*
|
|
cscope.*
|