Tests: use TRACEPOINT_INCLUDE
[lttng-tools.git] / tests / regression / ust / low-throughput / tp.h
index 3fa8c9a2dd9e5f08c52cc918e61a3888e0b211a1..961f2e907c64acb2655200ab6a4655296605f2cb 100644 (file)
@@ -14,7 +14,7 @@
 #include <lttng/tracepoint.h>
 
 TRACEPOINT_EVENT(tp, slow,
-       TP_ARGS(unsigned int, c, char *, thread_name),
+       TP_ARGS(unsigned int, c, const char *, thread_name),
        TP_FIELDS(
                ctf_integer(unsigned int, counter, c)
                ctf_string(th_name, thread_name)
@@ -23,8 +23,8 @@ TRACEPOINT_EVENT(tp, slow,
 
 #endif /* _TRACEPOINT_TP_H */
 
-#undef TRACEPOINT_INCLUDE_FILE
-#define TRACEPOINT_INCLUDE_FILE ./tp.h
+#undef TRACEPOINT_INCLUDE
+#define TRACEPOINT_INCLUDE "./tp.h"
 
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
This page took 0.023404 seconds and 4 git commands to generate.