[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/6] tracetool: allow ) in trace output string
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 1/6] tracetool: allow ) in trace output string |
Date: |
Tue, 26 Apr 2011 13:25:58 +0100 |
From: Paolo Bonzini <address@hidden>
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 <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
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"
}
--
1.7.4.1
- [Qemu-devel] [PULL 0/6] Tracing patches, Stefan Hajnoczi, 2011/04/26
- [Qemu-devel] [PATCH 6/6] trace: [trace-events] fix print formats in some events, Stefan Hajnoczi, 2011/04/26
- [Qemu-devel] [PATCH 1/6] tracetool: allow ) in trace output string,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 4/6] docs/tracing.txt: minor documentation fixes, Stefan Hajnoczi, 2011/04/26
- [Qemu-devel] [PATCH 5/6] trace: [ust] fix generation of 'trace.c' on events without args, Stefan Hajnoczi, 2011/04/26
- [Qemu-devel] [PATCH 2/6] trace: Remove %s in grlib trace events, Stefan Hajnoczi, 2011/04/26
- [Qemu-devel] [PATCH 3/6] docs: Trace events must not expect pointer dereferencing, Stefan Hajnoczi, 2011/04/26
- Re: [Qemu-devel] [PULL 0/6] Tracing patches, Anthony Liguori, 2011/04/26