History | View | Annotate | Download (1.3 kB)
trace: Use fprintf_function (format checking)
fprintf_function adds format checking with GCC_FMT_ATTR.
Cc: Blue Swirl <blauwirbel@gmail.com>Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
trace: print a warning if user tries to enable an unknown trace event
There was no warning if a bad trace event name was given to'trace-event' command, thus the user could think that the commandwas successful even if this was not the case.
Print a warning if the user tries to enable a trace event which is not...
trace: Add simple built-in tracing backend
This patch adds a simple tracer which produces binary trace files. Totry out the simple backend:
$ ./configure --trace-backend=simple$ make
After running QEMU you can pretty-print the trace:
$ ./simpletrace.py trace-events trace.log...
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, andpermitting logging of data from a trace event only if it is in an...
trace: Add trace-file command to open/close/flush trace file
This patch adds the trace-file command:
trace-file [on|off|flush]
Open, close, or flush the trace file. If no argument is given, the status of the trace file is displayed.
The trace file is turned on by default but is only written out when the...