diff options
Diffstat (limited to 'scripts/tracetool/backend/log.py')
-rw-r--r-- | scripts/tracetool/backend/log.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/tracetool/backend/log.py b/scripts/tracetool/backend/log.py index 54f0a69886..da86f6b882 100644 --- a/scripts/tracetool/backend/log.py +++ b/scripts/tracetool/backend/log.py @@ -48,3 +48,8 @@ def generate_h(event, group): name=event.name, fmt=event.fmt.rstrip("\n"), argnames=argnames) + + +def generate_h_backend_dstate(event, group): + out(' trace_event_get_state_dynamic_by_id(%(event_id)s) || \\', + event_id="TRACE_" + event.name.upper()) |