]> git.proxmox.com Git - qemu.git/commit - Makefile
trace: Provide a generic tracing event descriptor
authorLluís Vilanova <vilanova@ac.upc.edu>
Tue, 5 Mar 2013 13:47:32 +0000 (14:47 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 28 Mar 2013 13:19:57 +0000 (14:19 +0100)
commit45be2f5d0dcdd314cd0c70a11220e5e09a44d654
tree1352451c027991b2809a2bcb5e70f1a4b13af334
parent93fba1618ddbbef8bedd8d684cf356586c94bbb1
trace: Provide a generic tracing event descriptor

Uses tracetool to generate a backend-independent tracing event description
(struct TraceEvent).

The values for such structure are generated with the non-public "events"
backend ("events-c" frontend).

The generation of the defines to check if an event is statically enabled is also
moved to the "events" backend ("events-h" frontend).

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Makefile
scripts/tracetool/backend/events.py [new file with mode: 0644]
scripts/tracetool/format/events_c.py [new file with mode: 0644]
scripts/tracetool/format/events_h.py [new file with mode: 0644]
scripts/tracetool/format/h.py
trace/Makefile.objs
trace/event-internal.h [new file with mode: 0644]