Tracepoint API namespacing 'TRACEPOINT_EVENT'
[lttng-ust.git] / include / lttng / tp / lttng-ust-tracelog.h
index abc66a0c68998653b40278fb3cac61ed2334bff0..91f40854ffe6835bba1bec4b0d127c9cec1e88a6 100644 (file)
@@ -7,20 +7,21 @@
 #include <lttng/tracepoint.h>
 #include <stdarg.h>
 
-TRACEPOINT_EVENT_CLASS(lttng_ust_tracelog, tlclass,
-       TP_ARGS(const char *, file, int, line, const char *, func,
+LTTNG_UST_TRACEPOINT_EVENT_CLASS(lttng_ust_tracelog, tlclass,
+       LTTNG_UST_TP_ARGS(const char *, file, int, line, const char *, func,
                const char *, msg, unsigned int, len, void *, ip),
-       TP_FIELDS(
+       LTTNG_UST_TP_FIELDS(
                ctf_integer(int, line, line)
                ctf_string(file, file)
                ctf_string(func, func)
                ctf_sequence_text(char, msg, msg, unsigned int, len)
+               ctf_unused(ip)
        )
 )
 
 #define TP_TRACELOG_TEMPLATE(_level_enum) \
-       TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, _level_enum, \
-               TP_ARGS(const char *, file, int, line, const char *, func, \
+       LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, _level_enum, \
+               LTTNG_UST_TP_ARGS(const char *, file, int, line, const char *, func, \
                        const char *, msg, unsigned int, len, void *, ip) \
        ) \
        TRACEPOINT_LOGLEVEL(lttng_ust_tracelog, _level_enum, _level_enum)
This page took 0.024171 seconds and 4 git commands to generate.