-#undef _TP_EXTRACT_STRING2
-
-/*
- * Stage 5.2 of tracepoint event generation.
- *
- * Create the event notifier probe function.
- */
-#undef _TRACEPOINT_EVENT_CLASS
-#define _TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
-static lttng_ust_notrace \
-void __event_notifier_probe__##_provider##___##_name(_TP_ARGS_DATA_PROTO(_args)); \
-static \
-void __event_notifier_probe__##_provider##___##_name(_TP_ARGS_DATA_PROTO(_args)) \
-{ \
- struct lttng_event_notifier *__event_notifier = (struct lttng_event_notifier *) __tp_data; \
- const size_t __num_fields = _TP_ARRAY_SIZE(__event_fields___##_provider##___##_name) - 1;\
- union { \
- size_t __dynamic_len[__num_fields]; \
- char __interpreter_stack_data[2 * sizeof(unsigned long) * __num_fields]; \
- } __stackvar; \
- \
- if (caa_unlikely(!CMM_ACCESS_ONCE(__event_notifier->enabled))) \
- return; \
- if (caa_unlikely(!TP_RCU_LINK_TEST())) \
- return; \
- if (caa_unlikely(!cds_list_empty(&__event_notifier->filter_bytecode_runtime_head))) { \
- struct lttng_bytecode_runtime *__filter_bc_runtime; \
- int __filter_record = __event_notifier->has_enablers_without_bytecode; \
- \
- __event_prepare_interpreter_stack__##_provider##___##_name(__stackvar.__interpreter_stack_data, \
- _TP_ARGS_DATA_VAR(_args)); \
- tp_list_for_each_entry_rcu(__filter_bc_runtime, &__event_notifier->filter_bytecode_runtime_head, node) { \
- if (caa_unlikely(__filter_bc_runtime->interpreter_funcs.filter(__filter_bc_runtime, \
- __stackvar.__interpreter_stack_data) & LTTNG_INTERPRETER_RECORD_FLAG)) \
- __filter_record = 1; \
- } \
- if (caa_likely(!__filter_record)) \
- return; \
- } \
- if (caa_unlikely(!cds_list_empty(&__event_notifier->capture_bytecode_runtime_head))) \
- __event_prepare_interpreter_stack__##_provider##___##_name(__stackvar.__interpreter_stack_data, \
- _TP_ARGS_DATA_VAR(_args)); \
- \
- __event_notifier->notification_send(__event_notifier, \
- __stackvar.__interpreter_stack_data); \
-}
-
-#include TRACEPOINT_INCLUDE