Commit 931f53e1 authored by Alex Bennée's avatar Alex Bennée Committed by Stefan Hajnoczi
Browse files

scripts/tracetool: don't barf on formats with precision



This only affects lttng user space tracing at the moment.

Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent 89ae5831
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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."""