[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 1/3] trace: [ust] fix generation of 'trace.c' on
From: |
Lluís |
Subject: |
[Qemu-devel] [PATCH v2 1/3] trace: [ust] fix generation of 'trace.c' on events without args |
Date: |
Tue, 09 Nov 2010 15:08:18 +0100 |
User-agent: |
StGit/0.15 |
Signed-off-by: Lluís Vilanova <address@hidden>
---
tracetool | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tracetool b/tracetool
index 7010858..f0fe01d 100755
--- a/tracetool
+++ b/tracetool
@@ -275,6 +275,7 @@ linetoc_ust()
name=$(get_name "$1")
args=$(get_args "$1")
argnames=$(get_argnames "$1")
+ [ -z "$argnames" ] || argnames=", $argnames"
fmt=$(get_fmt "$1")
cat <<EOF
@@ -282,7 +283,7 @@ DEFINE_TRACE(ust_$name);
static void ust_${name}_probe($args)
{
- trace_mark(ust, $name, "$fmt", $argnames);
+ trace_mark(ust, $name, "$fmt"$argnames);
}
EOF
- [Qemu-devel] [PATCH v2 1/3] trace: [ust] fix generation of 'trace.c' on events without args,
Lluís <=
- [Qemu-devel] [PATCH v2 2/3] trace: always use the "nop" backend on events with the "disable" keyword, Lluís, 2010/11/09
- [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default, Lluís, 2010/11/09
- Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default, Blue Swirl, 2010/11/10
- Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default, Lluís, 2010/11/10
- Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default, Blue Swirl, 2010/11/10
- Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default, Lluís, 2010/11/10
- Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default, Blue Swirl, 2010/11/10
- Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default, Lluís, 2010/11/10
- Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default, Stefan Hajnoczi, 2010/11/11
- Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default, Stefan Hajnoczi, 2010/11/16