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>
master
Alex Bennée 2014-09-25 10:40:14 +01:00 committed by Stefan Hajnoczi
parent 89ae5831a5
commit 931f53e184
1 changed files with 1 additions and 1 deletions

View File

@ -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."""