diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-29 17:49:24 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2025-10-01 11:22:07 -0400 |
| commit | 4c2f770f67e0b0d8b512defca4d81bd09936ab85 (patch) | |
| tree | 288dbb47968c554ee16de645f809d02b2f57954d /scripts/tracetool/format/simpletrace_stap.py | |
| parent | 50873504dc3cc67ca06b4ebf307d084316e407a6 (diff) | |
| download | focaccia-qemu-4c2f770f67e0b0d8b512defca4d81bd09936ab85.tar.gz focaccia-qemu-4c2f770f67e0b0d8b512defca4d81bd09936ab85.zip | |
tracetool: remove dead code
Remove a bunch of dead code from tracetool. In particular, there are no tcg-exec events anymore and the sub-event functionality was only used for it. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20250929154938.594389-3-pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/tracetool/format/simpletrace_stap.py')
| -rw-r--r-- | scripts/tracetool/format/simpletrace_stap.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/tracetool/format/simpletrace_stap.py b/scripts/tracetool/format/simpletrace_stap.py index 72971133bf..ac39a492d9 100644 --- a/scripts/tracetool/format/simpletrace_stap.py +++ b/scripts/tracetool/format/simpletrace_stap.py @@ -17,8 +17,6 @@ from tracetool.backend.dtrace import probeprefix from tracetool.backend.simple import is_string from tracetool.format.stap import stap_escape -def global_var_name(name): - return probeprefix().replace(".", "_") + "_" + name def generate(events, backend, group): out('/* This file is autogenerated by tracetool, do not edit. */', |