Statistics
| Branch: | Revision:

root / trace @ 992aeb8e

Name Size
Makefile.objs 2.2 kB
control.c 1.4 kB
control.h 1.2 kB
default.c 1.2 kB
simple.c 12 kB
simple.h 1.4 kB
stderr.c 1.3 kB
stderr.h 182 Bytes

Latest revisions

# Date Author Comment
2c13ec50 01/12/2013 06:19 pm Paolo Bonzini

build: move dtrace rules to rules.mak

Signed-off-by: Paolo Bonzini <>

eac236ea 12/23/2012 10:28 pm Lluís Vilanova

build: Use separate makefile for "trace/"

Reviewed-by: Paolo Bonzini <>
Signed-off-by: Lluís Vilanova <>
--
Changes in v2:

  • Do not depend on "qemu-timer-common.o".
  • Use "$(obj)" in rules to refer to the build sub-directory....
1de7afc9 12/19/2012 09:32 am Paolo Bonzini

misc: move include files to include/qemu/

Signed-off-by: Paolo Bonzini <>

ddde8acc 11/16/2012 02:12 pm Gerd Hoffmann

trace: allow disabling events in events file

Disable trace events prefixed with a '-'. Useful
to enable a group of tracepoints with exceptions,
like this:

usb_xhci_port_*
-usb_xhci_port_read

which will enable all xhci port tracepoints except reads....

4552e410 08/14/2012 03:19 pm Stefan Weil

trace/simple: Replace asprintf by g_strdup_printf

asprintf is not available for all hosts. g_strdup_printf is
more portable and simplifies the code because if does not
need error handling.

The static variable does not need an explicit assignment to be NULL....

8ae601e8 08/14/2012 12:40 pm Harsh Prateek Bora

trace: rename TraceRecordHeader to TraceLogHeader

The TraceRecordHeader is really the header for the entire trace log
file. It's not per-record header so make this obvious by renaming it.

Signed-off-by: Harsh Prateek Bora <>
Signed-off-by: Stefan Hajnoczi <>

83d35d3e 08/14/2012 12:40 pm Harsh Prateek Bora

trace: remove unnecessary write_to_buffer() typecasting

The buffer argument is void* so it is not necessary to cast.

Signed-off-by: Harsh Prateek Bora <>
Signed-off-by: Stefan Hajnoczi <>

fd82f015 08/14/2012 12:40 pm Harsh Prateek Bora

trace: drop unused TraceBufferRecord->next_tbuf_idx field

Signed-off-by: Harsh Prateek Bora <>
Signed-off-by: Stefan Hajnoczi <>

db8894f2 08/14/2012 12:40 pm Harsh Prateek Bora

trace: avoid pointer aliasing in trace_record_finish()

Declaring a TraceRecord on the stack works fine. No need for a
uint8_t array and pointer aliasing.

Signed-off-by: Harsh Prateek Bora <>
Signed-off-by: Stefan Hajnoczi <>

62bab732 07/19/2012 01:34 pm Harsh Prateek Bora

Simpletrace v2: Support multiple arguments, strings.

Existing simpletrace backend allows to trace at max 6 args and does not
support strings. This newer tracelog format gets rid of fixed size records
and therefore allows to trace variable number of args including strings....

View revisions

Also available in: Atom