Lines Matching refs:call
210 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
211 struct trace_event_data_offsets_##call { \
383 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
385 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
390 struct trace_event_raw_##call *field; \
403 static struct trace_event_functions trace_event_type_funcs_##call = { \
404 .trace = trace_raw_output_##call, \
408 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
410 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
419 if (entry->type != event_##call.event.type) { \
427 return trace_output_call(iter, #call, print); \
429 static struct trace_event_functions trace_event_type_funcs_##call = { \
430 .trace = trace_raw_output_##call, \
475 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument
476 static struct trace_event_fields trace_event_fields_##call[] = { \
546 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
547 static inline notrace int trace_event_get_offsets_##call( \
548 struct trace_event_data_offsets_##call *__data_offsets, proto) \
552 struct trace_event_raw_##call __maybe_unused *entry; \
654 #define _TRACE_PERF_PROTO(call, proto) \ argument
656 perf_trace_##call(void *__data, proto);
658 #define _TRACE_PERF_INIT(call) \ argument
659 .perf_probe = perf_trace_##call,
662 #define _TRACE_PERF_PROTO(call, proto) argument
663 #define _TRACE_PERF_INIT(call) argument
719 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
722 trace_event_raw_event_##call(void *__data, proto) \
725 struct trace_event_data_offsets_##call __maybe_unused __data_offsets;\
727 struct trace_event_raw_##call *entry; \
733 __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \
754 #define DEFINE_EVENT(template, call, proto, args) \ argument
755 static inline void ftrace_test_probe_##call(void) \
757 check_trace_callback_type_##call(trace_event_raw_event_##template); \
790 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
791 _TRACE_PERF_PROTO(call, PARAMS(proto)); \
792 static char print_fmt_##call[] = print; \
793 static struct trace_event_class __used __refdata event_class_##call = { \
795 .fields_array = trace_event_fields_##call, \
796 .fields = LIST_HEAD_INIT(event_class_##call.fields),\
798 .probe = trace_event_raw_event_##call, \
800 _TRACE_PERF_INIT(call) \
804 #define DEFINE_EVENT(template, call, proto, args) \ argument
806 static struct trace_event_call __used event_##call = { \
809 .tp = &__tracepoint_##call, \
816 __section("_ftrace_events") *__event_##call = &event_##call
819 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
821 static char print_fmt_##call[] = print; \
823 static struct trace_event_call __used event_##call = { \
826 .tp = &__tracepoint_##call, \
828 .event.funcs = &trace_event_type_funcs_##call, \
829 .print_fmt = print_fmt_##call, \
833 __section("_ftrace_events") *__event_##call = &event_##call