diff options
author | Lluís Vilanova | 2014-08-18 15:02:07 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2014-09-26 10:34:38 +0200 |
commit | 2321442920ab67a1c196d4a53dd564726370946d (patch) | |
tree | b237b6c9e7a236d176f9b2fdaf8bf8b793c1e83d /scripts/tracetool/format | |
parent | Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-signed' int... (diff) | |
download | qemu-2321442920ab67a1c196d4a53dd564726370946d.tar.gz qemu-2321442920ab67a1c196d4a53dd564726370946d.tar.xz qemu-2321442920ab67a1c196d4a53dd564726370946d.zip |
trace: [ust] Fix format string computation in tcg-enabled events
TCG-enabled events start with two format strings. Delay per-argument format
computation until requested ('Event.formats').
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/tracetool/format')
-rw-r--r-- | scripts/tracetool/format/ust_events_h.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tracetool/format/ust_events_h.py b/scripts/tracetool/format/ust_events_h.py index d18989942a..3e8a7cdf19 100644 --- a/scripts/tracetool/format/ust_events_h.py +++ b/scripts/tracetool/format/ust_events_h.py @@ -65,7 +65,7 @@ def generate(events, backend): types = e.args.types() names = e.args.names() - fmts = e.arg_fmts + fmts = e.formats() for t,n,f in zip(types, names, fmts): if ('char *' in t) or ('char*' in t): out(' ctf_string(' + n + ', ' + n + ')') |