diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2014-09-25 10:40:14 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-26 09:34:39 +0100 |
commit | 931f53e18448487cbc118b1adafba52c3a359894 (patch) | |
tree | f271ddd761dc37d7b0f7aa859ee8739d97ca2b47 /scripts/tracetool | |
parent | 89ae5831a53e2d30a370e9a30fdb35da5a8f89aa (diff) |
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__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tracetool/__init__.py b/scripts/tracetool/__init__.py index b9a08443fc..3d5743f93e 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.""" |