Remove O_LARGEFILE from tests
[lttng-ust.git] / liblttng-ust / probes / lttng-probe-ust.h
index 3ae9e02069e48b8ae21064efe890812464f7ddc5..1c55ccd74c8a7a2a60bbf18d51a71031880363e1 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
+#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 <lttng/tracepoint-event.h>
This page took 0.024024 seconds and 4 git commands to generate.