mirror of https://gitee.com/openkylin/qemu.git
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:
parent
89ae5831a5
commit
931f53e184
|
@ -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."""
|
||||
|
|
Loading…
Reference in New Issue