aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracetool
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2014-09-25 10:40:14 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-09-26 09:34:39 +0100
commit931f53e18448487cbc118b1adafba52c3a359894 (patch)
treef271ddd761dc37d7b0f7aa859ee8739d97ca2b47 /scripts/tracetool
parent89ae5831a53e2d30a370e9a30fdb35da5a8f89aa (diff)
downloadqemu-931f53e18448487cbc118b1adafba52c3a359894.zip
qemu-931f53e18448487cbc118b1adafba52c3a359894.tar.gz
qemu-931f53e18448487cbc118b1adafba52c3a359894.tar.bz2
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 <alex.bennee@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/tracetool')
-rw-r--r--scripts/tracetool/__init__.py2
1 files changed, 1 insertions, 1 deletions
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."""