Lines Matching refs:call
203 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
204 struct trace_event_data_offsets_##call { \
344 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
346 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
351 struct trace_event_raw_##call *field; \
364 static struct trace_event_functions trace_event_type_funcs_##call = { \
365 .trace = trace_raw_output_##call, \
369 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
371 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
380 if (entry->type != event_##call.event.type) { \
388 return trace_output_call(iter, #call, print); \
390 static struct trace_event_functions trace_event_type_funcs_##call = { \
391 .trace = trace_raw_output_##call, \
448 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument
450 trace_event_define_fields_##call(struct trace_event_call *event_call) \
452 struct trace_event_raw_##call field; \
527 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
528 static inline notrace int trace_event_get_offsets_##call( \
529 struct trace_event_data_offsets_##call *__data_offsets, proto) \
533 struct trace_event_raw_##call __maybe_unused *entry; \
641 #define _TRACE_PERF_PROTO(call, proto) \ argument
643 perf_trace_##call(void *__data, proto);
645 #define _TRACE_PERF_INIT(call) \ argument
646 .perf_probe = perf_trace_##call,
649 #define _TRACE_PERF_PROTO(call, proto) argument
650 #define _TRACE_PERF_INIT(call) argument
696 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
699 trace_event_raw_event_##call(void *__data, proto) \
702 struct trace_event_data_offsets_##call __maybe_unused __data_offsets;\
704 struct trace_event_raw_##call *entry; \
710 __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \
731 #define DEFINE_EVENT(template, call, proto, args) \ argument
732 static inline void ftrace_test_probe_##call(void) \
734 check_trace_callback_type_##call(trace_event_raw_event_##template); \
759 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
760 _TRACE_PERF_PROTO(call, PARAMS(proto)); \
761 static char print_fmt_##call[] = print; \
762 static struct trace_event_class __used __refdata event_class_##call = { \
764 .define_fields = trace_event_define_fields_##call, \
765 .fields = LIST_HEAD_INIT(event_class_##call.fields),\
767 .probe = trace_event_raw_event_##call, \
769 _TRACE_PERF_INIT(call) \
773 #define DEFINE_EVENT(template, call, proto, args) \ argument
775 static struct trace_event_call __used event_##call = { \
778 .tp = &__tracepoint_##call, \
785 __attribute__((section("_ftrace_events"))) *__event_##call = &event_##call
788 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
790 static char print_fmt_##call[] = print; \
792 static struct trace_event_call __used event_##call = { \
795 .tp = &__tracepoint_##call, \
797 .event.funcs = &trace_event_type_funcs_##call, \
798 .print_fmt = print_fmt_##call, \
802 __attribute__((section("_ftrace_events"))) *__event_##call = &event_##call