qemu/trace
Stefan Hajnoczi 26896cbf35 trace: add pid field to simpletrace record
It is useful to know the QEMU process ID when working with traces from
multiple VMs.  Although the trace filename may contain the pid, tools
that aggregate traces or even trace globally need somewhere to record
the pid.

There is a reserved field in the trace event header struct that we can
use.

It is not necessary to bump the simpletrace file format version number
because it has already been incremented for the QEMU 2.1 release cycle
in commit "trace: [simple] Bump up log version number".

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-06-09 15:43:40 +02:00
..
control-internal.h trace: Fix build warnings for Win32 build 2014-03-12 14:19:58 +01:00
control.c trace: Provide a detailed event control interface 2013-03-28 14:19:57 +01:00
control.h trace: Provide a detailed event control interface 2013-03-28 14:19:57 +01:00
default.c trace: [default] Port to generic event information and new control interface 2013-03-28 14:19:57 +01:00
event-internal.h trace: Provide a generic tracing event descriptor 2013-03-28 14:19:57 +01:00
ftrace.c trace: Add ftrace tracing backend 2013-05-03 13:58:09 +02:00
ftrace.h trace: Add ftrace tracing backend 2013-05-03 13:58:09 +02:00
Makefile.objs trace: [tracetool] Minimize the amount of per-backend code 2014-05-07 19:07:18 +02:00
simple.c trace: add pid field to simpletrace record 2014-06-09 15:43:40 +02:00
simple.h trace: [simple] Port to generic event information and new control interface 2013-03-28 14:19:57 +01:00
stderr.c trace: [stderr] Port to generic event information and new control interface 2013-03-28 14:19:57 +01:00