提交 931f53e1 编写于 作者: A Alex Bennée 提交者: Stefan Hajnoczi

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

This only affects lttng user space tracing at the moment.
Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 89ae5831
......@@ -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."""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册