X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ftp%2Flttng-ust-tracef.h;h=1be1468c253d91729e6162631dbda5f39dc9c24b;hb=612e9ce4e5cc3a1292522a563789f6aab6c421b1;hp=785f21321cb8e2c6aa44df4cfda9adbb130518d8;hpb=b15c4010a54a79e955d82b46826d14c882276669;p=lttng-ust.git diff --git a/include/lttng/tp/lttng-ust-tracef.h b/include/lttng/tp/lttng-ust-tracef.h index 785f2132..1be1468c 100644 --- a/include/lttng/tp/lttng-ust-tracef.h +++ b/include/lttng/tp/lttng-ust-tracef.h @@ -7,10 +7,11 @@ #include #include -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)