Lines Matching full:call

8  * struct trace_event_raw_<call> {
162 * struct trace_event_data_offsets_<call> {
204 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
205 struct trace_event_data_offsets_##call { \
230 * trace_raw_output_<call>(struct trace_iterator *iter, int flags)
233 * struct trace_event_raw_<call> *field; <-- defined in stage 1
240 * if (entry->type != event_<call>->event.type) {
248 * ret = trace_seq_printf(s, "%s: ", <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, \
442 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument
443 static struct trace_event_fields trace_event_fields_##call[] = { \
510 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
511 static inline notrace int trace_event_get_offsets_##call( \
512 struct trace_event_data_offsets_##call *__data_offsets, proto) \
516 struct trace_event_raw_##call __maybe_unused *entry; \
533 * static struct trace_event_call event_<call>;
535 * static void trace_event_raw_event_<call>(void *__data, proto)
539 * struct trace_event_data_offsets_<call> __maybe_unused __data_offsets;
543 * struct trace_event_raw_<call> *entry; <-- defined in stage 1
559 * __data_size = trace_event_get_offsets_<call>(&__data_offsets, args);
562 * event_<call>->event.type,
585 * static struct trace_event ftrace_event_type_<call> = {
586 * .trace = trace_raw_output_<call>, <-- stage 2
589 * static char print_fmt_<call>[] = <TP_printk>;
593 * .fields_array = trace_event_fields_<call>,
594 * .fields = LIST_HEAD_INIT(event_class_##call.fields),
596 * .probe = trace_event_raw_event_##call,
600 * static struct trace_event_call event_<call> = {
603 * .tp = &__tracepoint_<call>,
605 * .event = &ftrace_event_type_<call>,
606 * .print_fmt = print_fmt_<call>,
612 * __section("_ftrace_events") *__event_<call> = &event_<call>;
618 #define _TRACE_PERF_PROTO(call, proto) \ argument
620 perf_trace_##call(void *__data, proto);
622 #define _TRACE_PERF_INIT(call) \ argument
623 .perf_probe = perf_trace_##call,
626 #define _TRACE_PERF_PROTO(call, proto) argument
627 #define _TRACE_PERF_INIT(call) argument
673 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
676 trace_event_raw_event_##call(void *__data, proto) \
679 struct trace_event_data_offsets_##call __maybe_unused __data_offsets;\
681 struct trace_event_raw_##call *entry; \
687 __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \
708 #define DEFINE_EVENT(template, call, proto, args) \ argument
709 static inline void ftrace_test_probe_##call(void) \
711 check_trace_callback_type_##call(trace_event_raw_event_##template); \
734 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
735 _TRACE_PERF_PROTO(call, PARAMS(proto)); \
736 static char print_fmt_##call[] = print; \
737 static struct trace_event_class __used __refdata event_class_##call = { \
739 .fields_array = trace_event_fields_##call, \
740 .fields = LIST_HEAD_INIT(event_class_##call.fields),\
742 .probe = trace_event_raw_event_##call, \
744 _TRACE_PERF_INIT(call) \
748 #define DEFINE_EVENT(template, call, proto, args) \ argument
750 static struct trace_event_call __used event_##call = { \
753 .tp = &__tracepoint_##call, \
760 __section("_ftrace_events") *__event_##call = &event_##call
763 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
765 static char print_fmt_##call[] = print; \
767 static struct trace_event_call __used event_##call = { \
770 .tp = &__tracepoint_##call, \
772 .event.funcs = &trace_event_type_funcs_##call, \
773 .print_fmt = print_fmt_##call, \
777 __section("_ftrace_events") *__event_##call = &event_##call