X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Fprobes%2Flttng-probe-ust.h;h=1c55ccd74c8a7a2a60bbf18d51a71031880363e1;hb=1e5f62b4fcdce2ccc8d6527fec89e6e0982985e0;hp=3ae9e02069e48b8ae21064efe890812464f7ddc5;hpb=a4ada9b87a62c26061c109abe0fd502e16f03db2;p=lttng-ust.git diff --git a/liblttng-ust/probes/lttng-probe-ust.h b/liblttng-ust/probes/lttng-probe-ust.h index 3ae9e020..1c55ccd7 100644 --- a/liblttng-ust/probes/lttng-probe-ust.h +++ b/liblttng-ust/probes/lttng-probe-ust.h @@ -26,9 +26,7 @@ TRACEPOINT_EVENT(lttng_ust, metadata, - TP_PROTO(const char *str), - - TP_VARS(str), + TP_ARGS(const char *, str), /* * Not exactly a string: more a sequence of bytes (dynamic @@ -40,12 +38,10 @@ TRACEPOINT_EVENT(lttng_ust, metadata, ) ) -#undef TRACEPOINT_INCLUDE_PATH -#define TRACEPOINT_INCLUDE_PATH ./probes #undef TRACEPOINT_INCLUDE_FILE -#define TRACEPOINT_INCLUDE_FILE lttng-probe-ust +#define TRACEPOINT_INCLUDE_FILE ./probes/lttng-probe-ust.h #endif /* _TRACEPOINT_LTTNG_UST_H */ -/* This part must be outside protection */ +/* This part must be outside ifdef protection */ #include