Fix: notification timeout logic
[lttng-ust.git] / liblttng-ust / probes / lttng-probe-ust.h
index 3ae9e02069e48b8ae21064efe890812464f7ddc5..433d5dbfffee8a270ea2110bc297e1639b28e5b2 100644 (file)
@@ -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
+#undef TRACEPOINT_INCLUDE
+#define TRACEPOINT_INCLUDE "./probes/lttng-probe-ust.h"
 
 #endif /* _TRACEPOINT_LTTNG_UST_H */
 
-/* This part must be outside protection */
+/* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
This page took 0.024073 seconds and 4 git commands to generate.