summary refs log tree commit diff stats
path: root/scripts/simpletrace.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-06-22 21:46:05 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2014-08-12 14:26:11 +0100
commit3f8b112d6b9ab65e165096582c78154dda1adc69 (patch)
tree052097276ce312b408517fe4ac7748f79b2db0a3 /scripts/simpletrace.py
parenta76ccf3c1cb06576af091c5ac8bc264515b1bb7f (diff)
downloadfocaccia-qemu-3f8b112d6b9ab65e165096582c78154dda1adc69.tar.gz
focaccia-qemu-3f8b112d6b9ab65e165096582c78154dda1adc69.zip
trace: add tracetool simpletrace_stap format
This new tracetool "format" generates a SystemTap .stp file that outputs
simpletrace binary trace data.

In contrast to simpletrace or ftrace, SystemTap does not define its own
trace format.  All output from SystemTap is generated by .stp files.
This patch lets us generate a .stp file that outputs in the simpletrace
binary format.

This makes it possible to reuse simpletrace.py to analyze traces
recorded using SystemTap.  The simpletrace binary format is especially
useful for long-running traces like flight-recorder mode where string
formatting can be expensive.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/simpletrace.py')
0 files changed, 0 insertions, 0 deletions