Lines Matching refs:call

204 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\  argument
205 struct trace_event_data_offsets_##call { \
351 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
353 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
358 struct trace_event_raw_##call *field; \
371 static struct trace_event_functions trace_event_type_funcs_##call = { \
372 .trace = trace_raw_output_##call, \
376 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
378 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
387 if (entry->type != event_##call.event.type) { \
395 return trace_output_call(iter, #call, print); \
397 static struct trace_event_functions trace_event_type_funcs_##call = { \
398 .trace = trace_raw_output_##call, \
440 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument
441 static struct trace_event_fields trace_event_fields_##call[] = { \
508 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
509 static inline notrace int trace_event_get_offsets_##call( \
510 struct trace_event_data_offsets_##call *__data_offsets, proto) \
514 struct trace_event_raw_##call __maybe_unused *entry; \
616 #define _TRACE_PERF_PROTO(call, proto) \ argument
618 perf_trace_##call(void *__data, proto);
620 #define _TRACE_PERF_INIT(call) \ argument
621 .perf_probe = perf_trace_##call,
624 #define _TRACE_PERF_PROTO(call, proto) argument
625 #define _TRACE_PERF_INIT(call) argument
671 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
674 trace_event_raw_event_##call(void *__data, proto) \
677 struct trace_event_data_offsets_##call __maybe_unused __data_offsets;\
679 struct trace_event_raw_##call *entry; \
685 __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \
706 #define DEFINE_EVENT(template, call, proto, args) \ argument
707 static inline void ftrace_test_probe_##call(void) \
709 check_trace_callback_type_##call(trace_event_raw_event_##template); \
732 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
733 _TRACE_PERF_PROTO(call, PARAMS(proto)); \
734 static char print_fmt_##call[] = print; \
735 static struct trace_event_class __used __refdata event_class_##call = { \
737 .fields_array = trace_event_fields_##call, \
738 .fields = LIST_HEAD_INIT(event_class_##call.fields),\
740 .probe = trace_event_raw_event_##call, \
742 _TRACE_PERF_INIT(call) \
746 #define DEFINE_EVENT(template, call, proto, args) \ argument
748 static struct trace_event_call __used event_##call = { \
751 .tp = &__tracepoint_##call, \
758 __section("_ftrace_events") *__event_##call = &event_##call
761 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
763 static char print_fmt_##call[] = print; \
765 static struct trace_event_call __used event_##call = { \
768 .tp = &__tracepoint_##call, \
770 .event.funcs = &trace_event_type_funcs_##call, \
771 .print_fmt = print_fmt_##call, \
775 __section("_ftrace_events") *__event_##call = &event_##call