qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 1/3] trace: [ust] fix generation of 'trace.c' on events without args
@ 2010-11-09 14:08 Lluís
  2010-11-09 14:08 ` [Qemu-devel] [PATCH v2 2/3] trace: always use the "nop" backend on events with the "disable" keyword Lluís
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Lluís @ 2010-11-09 14:08 UTC (permalink / raw)
  To: qemu-devel

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
 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
 

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-11-17 12:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 14:08 [Qemu-devel] [PATCH v2 1/3] trace: [ust] fix generation of 'trace.c' on events without args Lluís
2010-11-09 14:08 ` [Qemu-devel] [PATCH v2 2/3] trace: always use the "nop" backend on events with the "disable" keyword Lluís
2010-11-09 14:08 ` [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default Lluís
2010-11-10 17:21   ` Blue Swirl
2010-11-10 17:59     ` Lluís
2010-11-10 18:22       ` Blue Swirl
2010-11-10 19:57         ` Lluís
2010-11-10 20:23           ` Blue Swirl
2010-11-10 21:20             ` Lluís
2010-11-11  9:31               ` Stefan Hajnoczi
2010-11-16 17:03                 ` Stefan Hajnoczi
2010-11-17 12:04                   ` Lluís
2010-11-09 14:17 ` [Qemu-devel] [PATCH v2 1/3] trace: [ust] fix generation of 'trace.c' on events without args Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).