diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-04-15 15:23:59 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-04-26 13:14:49 +0100 |
commit | 1a96dd472c37ceeefc0d488cb7722c6714d2f0b7 (patch) | |
tree | 4bb702e354791a802ac609d116226671b7e9f3f0 /scripts | |
parent | b0b36e5d2e4c8a96c2f6dbc0981a9fd0cde111d8 (diff) | |
download | qemu-1a96dd472c37ceeefc0d488cb7722c6714d2f0b7.zip qemu-1a96dd472c37ceeefc0d488cb7722c6714d2f0b7.tar.gz qemu-1a96dd472c37ceeefc0d488cb7722c6714d2f0b7.tar.bz2 |
tracetool: allow ) in trace output string
Be greedy in matching the trailing "\)*" pattern. Otherwise, all the
text in the trace string up to the last closed parenthesis is taken as
part of the prototype.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tracetool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tracetool b/scripts/tracetool index 412f695..9912f36 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -51,7 +51,7 @@ get_args() { local args args=${1#*\(} - args=${args%\)*} + args=${args%%\)*} echo "$args" } |