From 7b36b13a3a6615e87b2fc5b0bb39c5a74f1b6a76 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 25 Apr 2011 13:38:52 -0400 Subject: [PATCH] Markers: fix compatility trace_mark When providing no args, we need to paste args with ## args. Signed-off-by: Mathieu Desnoyers --- include/ust/marker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1