diff options
Diffstat (limited to 'scripts/tracetool/backend/simple.py')
-rw-r--r-- | scripts/tracetool/backend/simple.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/tracetool/backend/simple.py b/scripts/tracetool/backend/simple.py index f983670ee1..c2fd1c24c4 100644 --- a/scripts/tracetool/backend/simple.py +++ b/scripts/tracetool/backend/simple.py @@ -42,6 +42,11 @@ def generate_h(event, group): args=", ".join(event.args.names())) +def generate_h_backend_dstate(event, group): + out(' trace_event_get_state_dynamic_by_id(%(event_id)s) || \\', + event_id="TRACE_" + event.name.upper()) + + def generate_c_begin(events, group): out('#include "qemu/osdep.h"', '#include "trace/control.h"', |