#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>