scripts/tracetool: don't barf on formats with precision
PATCH 1/1 scripts/tracetool: don't barf on formats with precision
This only affects lttng user space tracing at the moment.
Signed-off-by Alex Bennée <[email protected]>
--- scripts/tracetool/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/tracetool/__init__.py +1 -1
@@ -146,7 +146,7 @@ class Event(object): "\s*" "(?:(?:(?P<fmt_trans>\".+),)?\s*(?P<fmt>\".+))?" "\s*") - _FMT = re.compile("(%\w+|%.*PRI\S+)") + _FMT = re.compile("(%[\d\.]*\w+|%.*PRI\S+)") _VALID_PROPS = set(["disable", "tcg", "tcg-trans", "tcg-exec"])
Signature · 1 line
2.1.0
Stefan Hajnoczi
AppliedQuoted 6 lines · Alex Bennée
This only affects lttng user space tracing at the moment.
Signed-off-by Alex Bennée <[email protected]>--- scripts/tracetool/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing
Stefan