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