projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89ae583
)
scripts/tracetool: don't barf on formats with precision
author
Alex Bennée
<alex.bennee@linaro.org>
Thu, 25 Sep 2014 09:40:14 +0000
(10:40 +0100)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Fri, 26 Sep 2014 08:34:39 +0000
(09:34 +0100)
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>
scripts/tracetool/__init__.py
patch
|
blob
|
history
diff --git
a/scripts/tracetool/__init__.py
b/scripts/tracetool/__init__.py
index b9a08443fc1960ed0ec25c5d92db07a3b15efad5..3d5743f93e4a5130dfd93845a43c402e735aef6f 100644
(file)
--- 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."""