Statistics
| Branch: | Revision:

root / tracetool @ 2c80e423

History | View | Annotate | Download (6.1 kB)

# Date Author Comment
ea9c1698 10/09/2010 11:16 am Stefan Hajnoczi

trace: Use TP_PROTO() and TP_ARGS() for LTTng UST

The LTTng UserSpace Tracer formerly used TPPROTO and TPARGS instead
of TP_PROTO() and TP_ARGS() like the kernel uses. This has been changed
so QEMU needs to follow.

I am not aware of a graceful way of making the transition but since no...

5eb5527b 10/09/2010 11:16 am Stefan Hajnoczi

trace: Don't strip lines containing '#' arbitrarily

Although comment lines must be skipped, the '#' character can occur in
valid format strings. Be more careful when checking for comments.
Leave comments at the end of the line where they will not interfere with...

2184d75b 09/11/2010 01:43 pm Blue Swirl

trace: fix a regex portability problem

The /bin/sh in Milax has problems with the regex:
Error: invalid trace backend
Please choose a supported trace backend.

Fix it by escaping ')' like the regexes with '('.

Signed-off-by: Blue Swirl <>

94a420b1 09/10/2010 12:22 am Stefan Hajnoczi

trace: Add trace-events file for declaring trace events

This patch introduces the trace-events file where trace events can be
declared like so:

qemu_malloc(size_t size) "size %zu"
qemu_free(void *ptr) "ptr %p"

These trace event declarations are processed by a new tool called...

26f7227b 09/10/2010 12:22 am Stefan Hajnoczi

trace: Add simple built-in tracing backend

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...

22890ab5 09/10/2010 12:22 am Prerna Saxena

trace: Support for dynamically enabling/disabling trace events

This patch adds support for dynamically enabling/disabling of trace events.
This is done by internally maintaining each trace event's state, and
permitting logging of data from a trace event only if it is in an...

1e2cf2bc 09/10/2010 12:22 am Stefan Hajnoczi

trace: Support disabled events in trace-events

Sometimes it is useful to disable a trace event. Removing the event
from trace-events is not enough since source code will call the
trace_*() function for the event.

This patch makes it easy to build without specific trace events by...

7e24e92a 09/10/2010 12:22 am Stefan Hajnoczi

trace: Add LTTng Userspace Tracer backend

This patch adds LTTng Userspace Tracer (UST) backend support. The UST
system requires no kernel support but libust and liburcu must be
installed.

$ ./configure --trace-backend ust
$ make

Start the UST daemon:
$ ustd &...