diff options
Diffstat (limited to 'scripts/tracetool/format/events_h.py')
-rw-r--r-- | scripts/tracetool/format/events_h.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/tracetool/format/events_h.py b/scripts/tracetool/format/events_h.py index a9da60b7fa..03417de0ec 100644 --- a/scripts/tracetool/format/events_h.py +++ b/scripts/tracetool/format/events_h.py @@ -32,6 +32,9 @@ def generate(events, backend): out(' TRACE_EVENT_COUNT', '} TraceEventID;') + for e in events: + out('extern uint16_t %s;' % e.api(e.QEMU_DSTATE)) + # per-vCPU event identifiers out('typedef enum {') |