X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-tracepoint-event.h;h=685ef5d1dfaef79304136665a24607961ca65755;hb=8e90eb06e6106d536519009cb297c479643b4150;hp=ac36362e1787062ec6fcc6488e38f2fc8e8ac3ac;hpb=05ceaafdd290220147a1faf4ca78d440f1e279b4;p=lttng-ust.git diff --git a/include/lttng/ust-tracepoint-event.h b/include/lttng/ust-tracepoint-event.h index ac36362e..685ef5d1 100644 --- a/include/lttng/ust-tracepoint-event.h +++ b/include/lttng/ust-tracepoint-event.h @@ -449,8 +449,8 @@ static void __event_probe__##_provider##___##_name(_TP_ARGS_DATA_PROTO(_args))\ #undef TRACEPOINT_LOGLEVEL_ENUM #define TRACEPOINT_LOGLEVEL_ENUM(...) __VA_ARGS__ -#undef TP_LOGLEVEL -#define TP_LOGLEVEL(_identifier, _value) \ +#undef tp_loglevel +#define tp_loglevel(_identifier, _value) \ static const struct tracepoint_loglevel_enum_entry \ _TP_COMBINE_TOKENS(_TP_COMBINE_TOKENS(TRACEPOINT_PROVIDER, __tp_loglevel_enum_entry__), _identifier) = \ { \ @@ -472,8 +472,8 @@ static const struct tracepoint_loglevel_enum_entry \ #undef TRACEPOINT_LOGLEVEL_ENUM #define TRACEPOINT_LOGLEVEL_ENUM(...) __VA_ARGS__ -#undef TP_LOGLEVEL -#define TP_LOGLEVEL(_identifier, _value) \ +#undef tp_loglevel +#define tp_loglevel(_identifier, _value) \ &_TP_COMBINE_TOKENS(_TP_COMBINE_TOKENS(TRACEPOINT_PROVIDER, __tp_loglevel_enum_entry__), _identifier), static const struct tracepoint_loglevel_enum_entry *_TP_COMBINE_TOKENS(__tracepoint_loglevel_enum__, TRACEPOINT_PROVIDER)[] __attribute__((unused)) =