tracetool: Update argument format regex to non-greedy star
commitfb1a66bc01b6f7376b452a313538a472451a0ba4
authorJon Emil Jahren <jonemilj@gmail.com>
Mon, 29 Jan 2018 04:16:47 +0000 (29 05:16 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 19 Feb 2018 13:09:44 +0000 (19 13:09 +0000)
treee1d5d26bc0e65cffc9ea1f74d6720d1d4d810cd5
parente5ecc287a7bd24a1364e23e263cb60cfc8d21eb5
tracetool: Update argument format regex to non-greedy star

Using the greedy star matching, arguments like "...%"PRIx64 caused issues
for functions with multiple PRI formats.

The issue was only seen with the ust backend, as it is the only one
using the format regex.

The result for many functions was that the arguments coming after the
greedy star end was left out of the tracepoint, and in some cases some
of the arguments that was traced had the wrong format.

Signed-off-by: Jon Emil Jahren <jonemilj@gmail.com>
Message-id: 20180129041648.30884-2-jonemilj@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/tracetool/__init__.py