Import CStringView from the Babeltrace tree
[lttng-tools.git] / tests / regression / ust / low-throughput / tp.h
index 3ec3c40c199b0918607a68e8d64a5652e698b0d3..d17d2bae044e969fcc74dabe0f319ee730800574 100644 (file)
 
 #include <lttng/tracepoint.h>
 
-TRACEPOINT_EVENT(tp, slow,
-       TP_ARGS(unsigned int, c, const char *, thread_name),
-       TP_FIELDS(
-               ctf_integer(unsigned int, counter, c)
-               ctf_string(th_name, thread_name)
-       )
-)
+TRACEPOINT_EVENT(tp,
+                slow,
+                TP_ARGS(unsigned int, c, const char *, thread_name),
+                TP_FIELDS(ctf_integer(unsigned int, counter, c) ctf_string(th_name, thread_name)))
 
 #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.039827 seconds and 4 git commands to generate.