summaryrefslogtreecommitdiff
path: root/scripts/tracetool.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tracetool.py')
-rwxr-xr-xscripts/tracetool.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index 7b82959e84..6accbbff69 100755
--- a/scripts/tracetool.py
+++ b/scripts/tracetool.py
@@ -129,8 +129,10 @@ def main(args):
if probe_prefix is None:
probe_prefix = ".".join(["qemu", target_type, target_name])
+ events = tracetool.read_events(sys.stdin)
+
try:
- tracetool.generate(sys.stdin, arg_format, arg_backends,
+ tracetool.generate(events, arg_format, arg_backends,
binary=binary, probe_prefix=probe_prefix)
except tracetool.TracetoolError as e:
error_opt(str(e))