Refactoring: tracepoint: allow explicit tracepoint instance provider name
[lttng-ust.git] / include / lttng / tp / lttng-ust-tracelog.h
index 497b81aa8412746634a8de21460ce572b81e56d5..673c9abc35df4cc50d3250a413192c7cc433a0ae 100644 (file)
@@ -11,16 +11,17 @@ 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),
        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)
+               lttng_ust_field_integer(int, line, line)
+               lttng_ust_field_string(file, file)
+               lttng_ust_field_string(func, func)
+               lttng_ust_field_sequence_text(char, msg, msg, unsigned int, len)
+               lttng_ust_field_unused(ip)
        )
 )
 
 #define LTTNG_UST_TP_TRACELOG_TEMPLATE(_level_enum) \
-       LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, _level_enum, \
+       LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, \
+               lttng_ust_tracelog, _level_enum, \
                LTTNG_UST_TP_ARGS(const char *, file, int, line, const char *, func, \
                        const char *, msg, unsigned int, len, void *, ip) \
        ) \
This page took 0.023442 seconds and 4 git commands to generate.