Re: [Qemu-devel] [PATCH v2] trace: tighten up trace-events regex to fix bad parse

2014-09-29 Thread Eric Auger
Dear all, this patch fixes the issues I reported (related to VFIO trace points). Many thanks for that. Best Regards Eric On 09/23/2014 12:37 PM, Stefan Hajnoczi wrote: > Use \w for properties and trace event names since they are both drawn > from [a-zA-Z0-9_] character sets. > > The .* for ma

Re: [Qemu-devel] [PATCH v2] trace: tighten up trace-events regex to fix bad parse

2014-09-24 Thread Stefan Hajnoczi
On Tue, Sep 23, 2014 at 11:37:06AM +0100, Stefan Hajnoczi wrote: > Use \w for properties and trace event names since they are both drawn > from [a-zA-Z0-9_] character sets. > > The .* for matching properties was too aggressive and caused the > following failure with foo(int rc) "(this is a test)":

[Qemu-devel] [PATCH v2] trace: tighten up trace-events regex to fix bad parse

2014-09-23 Thread Stefan Hajnoczi
Use \w for properties and trace event names since they are both drawn from [a-zA-Z0-9_] character sets. The .* for matching properties was too aggressive and caused the following failure with foo(int rc) "(this is a test)": Traceback (most recent call last): File "scripts/tracetool.py", lin