Lines Matching refs:call

180 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\  argument
181 struct trace_event_data_offsets_##call { \
305 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
307 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
312 struct trace_event_raw_##call *field; \
325 static struct trace_event_functions trace_event_type_funcs_##call = { \
326 .trace = trace_raw_output_##call, \
330 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
332 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
341 if (entry->type != event_##call.event.type) { \
349 return trace_output_call(iter, #call, print); \
351 static struct trace_event_functions trace_event_type_funcs_##call = { \
352 .trace = trace_raw_output_##call, \
408 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument
410 trace_event_define_fields_##call(struct trace_event_call *event_call) \
412 struct trace_event_raw_##call field; \
487 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
488 static inline notrace int trace_event_get_offsets_##call( \
489 struct trace_event_data_offsets_##call *__data_offsets, proto) \
493 struct trace_event_raw_##call __maybe_unused *entry; \
601 #define _TRACE_PERF_PROTO(call, proto) \ argument
603 perf_trace_##call(void *__data, proto);
605 #define _TRACE_PERF_INIT(call) \ argument
606 .perf_probe = perf_trace_##call,
609 #define _TRACE_PERF_PROTO(call, proto) argument
610 #define _TRACE_PERF_INIT(call) argument
659 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
662 trace_event_raw_event_##call(void *__data, proto) \
665 struct trace_event_data_offsets_##call __maybe_unused __data_offsets;\
667 struct trace_event_raw_##call *entry; \
673 __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \
694 #define DEFINE_EVENT(template, call, proto, args) \ argument
695 static inline void ftrace_test_probe_##call(void) \
697 check_trace_callback_type_##call(trace_event_raw_event_##template); \
721 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
722 _TRACE_PERF_PROTO(call, PARAMS(proto)); \
723 static char print_fmt_##call[] = print; \
724 static struct trace_event_class __used __refdata event_class_##call = { \
726 .define_fields = trace_event_define_fields_##call, \
727 .fields = LIST_HEAD_INIT(event_class_##call.fields),\
729 .probe = trace_event_raw_event_##call, \
731 _TRACE_PERF_INIT(call) \
735 #define DEFINE_EVENT(template, call, proto, args) \ argument
737 static struct trace_event_call __used event_##call = { \
740 .tp = &__tracepoint_##call, \
747 __attribute__((section("_ftrace_events"))) *__event_##call = &event_##call
750 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
752 static char print_fmt_##call[] = print; \
754 static struct trace_event_call __used event_##call = { \
757 .tp = &__tracepoint_##call, \
759 .event.funcs = &trace_event_type_funcs_##call, \
760 .print_fmt = print_fmt_##call, \
764 __attribute__((section("_ftrace_events"))) *__event_##call = &event_##call