Markers: fix compatility trace_mark
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 25 Apr 2011 17:38:52 +0000 (13:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 25 Apr 2011 17:38:52 +0000 (13:38 -0400)
When providing no args, we need to paste args with ## args.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust/marker.h

index 928eb4f76f2e5ab1235e1649fda9ddc5d08db911..b9621bff2b019e350291033cfa1324fa346365f4 100644 (file)
@@ -216,7 +216,7 @@ extern void ust_marker_update_probe_range(struct ust_marker * const *begin,
  * ust_marker().
  */
 #define trace_mark(channel, name, format, args...)     \
-       ust_marker(ust, name, format, args)
+       ust_marker(ust, name, format, ## args)
 
 /**
  * ust_marker_tp - Marker in a tracepoint callback
This page took 0.023857 seconds and 4 git commands to generate.