From: Mathieu Desnoyers Date: Mon, 25 Apr 2011 17:38:52 +0000 (-0400) Subject: Markers: fix compatility trace_mark X-Git-Tag: v0.13~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7b36b13a3a6615e87b2fc5b0bb39c5a74f1b6a76;p=ust.git Markers: fix compatility trace_mark When providing no args, we need to paste args with ## args. Signed-off-by: Mathieu Desnoyers --- diff --git a/include/ust/marker.h b/include/ust/marker.h index 928eb4f7..b9621bf 100644 --- a/include/ust/marker.h +++ b/include/ust/marker.h @@ -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