Lines Matching refs:call

115 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\  argument
116 struct trace_event_data_offsets_##call { \
187 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
189 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
194 struct trace_event_raw_##call *field; \
207 static struct trace_event_functions trace_event_type_funcs_##call = { \
208 .trace = trace_raw_output_##call, \
212 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
214 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
223 if (entry->type != event_##call.event.type) { \
231 return trace_output_call(iter, #call, print); \
233 static struct trace_event_functions trace_event_type_funcs_##call = { \
234 .trace = trace_raw_output_##call, \
242 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument
243 static struct trace_event_fields trace_event_fields_##call[] = { \
255 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
256 static inline notrace int trace_event_get_offsets_##call( \
257 struct trace_event_data_offsets_##call *__data_offsets, proto) \
261 struct trace_event_raw_##call __maybe_unused *entry; \
363 #define _TRACE_PERF_PROTO(call, proto) \ argument
365 perf_trace_##call(void *__data, proto);
367 #define _TRACE_PERF_INIT(call) \ argument
368 .perf_probe = perf_trace_##call,
371 #define _TRACE_PERF_PROTO(call, proto) argument
372 #define _TRACE_PERF_INIT(call) argument
378 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
381 trace_event_raw_event_##call(void *__data, proto) \
384 struct trace_event_data_offsets_##call __maybe_unused __data_offsets;\
386 struct trace_event_raw_##call *entry; \
392 __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \
413 #define DEFINE_EVENT(template, call, proto, args) \ argument
414 static inline void ftrace_test_probe_##call(void) \
416 check_trace_callback_type_##call(trace_event_raw_event_##template); \
424 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
425 _TRACE_PERF_PROTO(call, PARAMS(proto)); \
426 static char print_fmt_##call[] = print; \
427 static struct trace_event_class __used __refdata event_class_##call = { \
429 .fields_array = trace_event_fields_##call, \
430 .fields = LIST_HEAD_INIT(event_class_##call.fields),\
432 .probe = trace_event_raw_event_##call, \
434 _TRACE_PERF_INIT(call) \
438 #define DEFINE_EVENT(template, call, proto, args) \ argument
440 static struct trace_event_call __used event_##call = { \
443 .tp = &__tracepoint_##call, \
450 __section("_ftrace_events") *__event_##call = &event_##call
453 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
455 static char print_fmt_##call[] = print; \
457 static struct trace_event_call __used event_##call = { \
460 .tp = &__tracepoint_##call, \
462 .event.funcs = &trace_event_type_funcs_##call, \
463 .print_fmt = print_fmt_##call, \
467 __section("_ftrace_events") *__event_##call = &event_##call