Skip to content

tracetool: Fix ust tracepoint issues

Jon Emil Jahren qemu-devel 1 version Applied

Status from this message: Thanks, applied to my tracing tree:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2tracetool: Update argument format regex to non-greedy starscripts/tracetool/__init__.py+3 -20 replies
2/2tracetool: For ust trace bool type as ctf_integerscripts/tracetool/format/ust_events_h.py+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] tracetool: Fix ust tracepoint issues

There are some issues with the argument parsing for ust.
The first issue is that the regex pattern matching arguments with PRI types matched too much. This was fixed by using a non-greedy star, instead of a greedy.
The second issue is that bool type is not recognized. This was fixed by adding the bool type to be traced as an integer.
Both issues causes missing information in the trace.

The following patches fix the issues mentioned.

Jon Emil Jahren (2):
tracetool: Update argument format regex to non-greedy star
tracetool: For ust trace bool type as ctf_integer

 scripts/tracetool/__init__.py            | 5 +++--
 scripts/tracetool/format/ust_events_h.py | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
2.14.3