X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ftracepoint.h;h=199c8d43c1ddfb004958f61042f2a2a562c1b0b7;hb=bd75d5b944fefa9819bd341d16478a31441d30e3;hp=48781e8ebcf01de30106fa3f78fc52e88f65cf09;hpb=0274f7f24e55825f2a51804d50100676d468c06d;p=lttng-ust.git diff --git a/include/lttng/tracepoint.h b/include/lttng/tracepoint.h index 48781e8e..199c8d43 100644 --- a/include/lttng/tracepoint.h +++ b/include/lttng/tracepoint.h @@ -31,16 +31,16 @@ */ #include -#define _LTTNG_UST_SDT_NARG(...) \ - __LTTNG_UST_SDT_NARG(__VA_ARGS__, 12,11,10,9,8,7,6,5,4,3,2,1,0) +#define LTTNG_UST__SDT_NARG(...) \ + LTTNG_UST___SDT_NARG(__VA_ARGS__, 12,11,10,9,8,7,6,5,4,3,2,1,0) -#define __LTTNG_UST_SDT_NARG(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12, N, ...) N +#define LTTNG_UST___SDT_NARG(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12, N, ...) N -#define _LTTNG_UST_SDT_PROBE_N(provider, name, N, ...) \ +#define LTTNG_UST__SDT_PROBE_N(provider, name, N, ...) \ _SDT_PROBE(provider, name, N, (__VA_ARGS__)) #define LTTNG_UST_STAP_PROBEV(provider, name, ...) \ - _LTTNG_UST_SDT_PROBE_N(provider, name, _LTTNG_UST_SDT_NARG(0, ##__VA_ARGS__), ##__VA_ARGS__) + LTTNG_UST__SDT_PROBE_N(provider, name, LTTNG_UST__SDT_NARG(0, ##__VA_ARGS__), ##__VA_ARGS__) #else #define LTTNG_UST_STAP_PROBEV(...)