qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 14/16] scripts/tracetool: don't barf on formats with


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PULL 14/16] scripts/tracetool: don't barf on formats with precision
Date: Fri, 26 Sep 2014 11:59:35 +0100

From: Alex Bennée <address@hidden>

This only affects lttng user space tracing at the moment.

Signed-off-by: Alex Bennée <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
 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 b9a0844..3d5743f 100644
--- a/scripts/tracetool/__init__.py
+++ b/scripts/tracetool/__init__.py
@@ -228,7 +228,7 @@ class Event(object):
                                           self.args,
                                           fmt)
 
-    _FMT = re.compile("(%\w+|%.*PRI\S+)")
+    _FMT = re.compile("(%[\d\.]*\w+|%.*PRI\S+)")
 
     def formats(self):
         """List of argument print formats."""
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]