#include <lttng/tracepoint.h>
#include <stdarg.h>
-TRACEPOINT_EVENT(lttng_ust_tracef, event,
- TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
- TP_FIELDS(
+LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_tracef, event,
+ LTTNG_UST_TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
+ LTTNG_UST_TP_FIELDS(
ctf_sequence_text(char, msg, msg, unsigned int, len)
+ ctf_unused(ip)
)
)
-TRACEPOINT_LOGLEVEL(lttng_ust_tracef, event, TRACE_DEBUG)
+LTTNG_UST_TRACEPOINT_LOGLEVEL(lttng_ust_tracef, event, LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG)