Skip to content

Commit

Permalink
scripts/tracetool: don't barf on formats with precision
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stsquad authored and stefanhaRH committed Sep 26, 2014
1 parent 89ae583 commit 931f53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tracetool/__init__.py
Expand Up @@ -228,7 +228,7 @@ def __repr__(self):
self.args,
fmt)

_FMT = re.compile("(%\w+|%.*PRI\S+)")
_FMT = re.compile("(%[\d\.]*\w+|%.*PRI\S+)")

def formats(self):
"""List of argument print formats."""
Expand Down

0 comments on commit 931f53e

Please sign in to comment.