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>
This commit is contained in:
Alex Bennée 2014-09-25 10:40:14 +01:00 committed by Stefan Hajnoczi
parent 89ae5831a5
commit 931f53e184

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