Statistics
| Branch: | Revision:

root / trace @ 1b1ed8dc

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
0e848f48 01/12/2013 07:42 pm Paolo Bonzini

build: some simplifications for "trace/Makefile.objs"

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Paolo Bonzini <>

ff667e2e 01/12/2013 07:42 pm Paolo Bonzini

build: fold trace-obj-y into libqemuutil.a

Signed-off-by: Paolo Bonzini <>

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

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

View revisions

Also available in: Atom