Refactoring: tracepoint: allow explicit tracepoint instance provider name
[lttng-ust.git] / include / lttng / tp / lttng-ust-tracelog.h
index c8ae05982d4f8285e66ce8c5f26c493386196248..673c9abc35df4cc50d3250a413192c7cc433a0ae 100644 (file)
@@ -12,15 +12,16 @@ LTTNG_UST_TRACEPOINT_EVENT_CLASS(lttng_ust_tracelog, tlclass,
                const char *, msg, unsigned int, len, void *, ip),
        LTTNG_UST_TP_FIELDS(
                lttng_ust_field_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_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.024082 seconds and 4 git commands to generate.