X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-events-reset.h;h=8262d83eb238572e3b30f593c87cac933f676b4c;hb=ea809a2105e5a59f447bdb08ea7e73640a661989;hp=1bc77820c20e73b11ebde2a379879c47be1af024;hpb=43803cf2bdfe205fe0e426f7e93507d722ba1feb;p=lttng-modules.git diff --git a/probes/lttng-events-reset.h b/probes/lttng-events-reset.h index 1bc77820..8262d83e 100644 --- a/probes/lttng-events-reset.h +++ b/probes/lttng-events-reset.h @@ -21,10 +21,10 @@ /* Reset macros used within LTTNG_TRACEPOINT_EVENT to "nothing" */ #undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE -#define LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, _proto, _args, _locvar, _code, _fields) +#define LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, _proto, _args, _locvar, _code_pre, _fields, _code_post) #undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS -#define LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS(_name, _locvar, _code, _fields) +#define LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS(_name, _locvar, _code_pre, _fields, _code_post) #undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP #define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(_template, _name, _map, _proto, _args) @@ -41,8 +41,11 @@ #undef TP_locvar #define TP_locvar(...) -#undef TP_code -#define TP_code(...) +#undef TP_code_pre +#define TP_code_pre(...) + +#undef TP_code_post +#define TP_code_post(...) #undef TP_FIELDS #define TP_FIELDS(args...)