trace: Add trace-events file for declaring trace events
This patch introduces the trace-events file where trace events can bedeclared 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...
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: Support disabled events in trace-events
Sometimes it is useful to disable a trace event. Removing the eventfrom trace-events is not enough since source code will call thetrace_*() function for the event.
This patch makes it easy to build without specific trace events by...
trace: Specify trace file name
Allow users to specify a file for trace-outputs at configuration.Also, allow trace files to be annotated by <pid> so each qemu instance hasunique traces.
The trace file name can be passed as a config option:--trace-file=/path/to/file...
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...
trace: Add trace file name command-line option
This patch adds an optional command line switch '-trace' to specify thefilename to write traces to, when qemu starts.Eg, If compiled with the 'simple' trace backend,[temp@system]$ qemu -trace FILENAME IMAGE...
trace: Add LTTng Userspace Tracer backend
This patch adds LTTng Userspace Tracer (UST) backend support. The USTsystem requires no kernel support but libust and liburcu must beinstalled.
$ ./configure --trace-backend ust$ make
Start the UST daemon:$ ustd &...
microblaze: Add support for fcmp.un
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
elf: Calculate symbol size if needed
Symbols with a size of 0 are unusable for the disassembler.
Example:
While running an arm linux kernel, no symbolic names areused in qemu.log when the cpu is executing an assembler function.
Assume that the size of such symbols is the difference to the...
View all revisions | View revisions
Also available in: Atom