* [Qemu-devel] [PATCH] scripts/tracetool: don't barf on formats with precision
@ 2014-09-25 9:40 Alex Bennée
2014-09-25 12:39 ` Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: Alex Bennée @ 2014-09-25 9:40 UTC (permalink / raw)
To: stefanha, vilanova, mohamad.gebai; +Cc: Alex Bennée, qemu-devel
This only affects lttng user space tracing at the moment.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
scripts/tracetool/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/tracetool/__init__.py b/scripts/tracetool/__init__.py
index 36c789d..5aa2eed 100644
--- a/scripts/tracetool/__init__.py
+++ b/scripts/tracetool/__init__.py
@@ -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"])
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] scripts/tracetool: don't barf on formats with precision
2014-09-25 9:40 [Qemu-devel] [PATCH] scripts/tracetool: don't barf on formats with precision Alex Bennée
@ 2014-09-25 12:39 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2014-09-25 12:39 UTC (permalink / raw)
To: Alex Bennée; +Cc: qemu-devel, vilanova, mohamad.gebai
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
On Thu, Sep 25, 2014 at 10:40:14AM +0100, Alex Bennée wrote:
> This only affects lttng user space tracing at the moment.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> 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
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-25 12:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-25 9:40 [Qemu-devel] [PATCH] scripts/tracetool: don't barf on formats with precision Alex Bennée
2014-09-25 12:39 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).