Lines Matching full:call

8  * struct trace_event_raw_<call> {
114 * struct trace_event_data_offsets_<call> {
128 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
129 struct trace_event_data_offsets_##call { \
157 * trace_raw_output_<call>(struct trace_iterator *iter, int flags)
160 * struct trace_event_raw_<call> *field; <-- defined in stage 1
169 * if (entry->type != event_<call>->event.type) {
177 * return trace_output_call(iter, <call>, <TP_printk> "\n");
203 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
205 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
210 struct trace_event_raw_##call *field; \
223 static struct trace_event_functions trace_event_type_funcs_##call = { \
224 .trace = trace_raw_output_##call, \
231 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
233 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
242 if (entry->type != event_##call.event.type) { \
250 return trace_output_call(iter, #call, print); \
252 static struct trace_event_functions trace_event_type_funcs_##call = { \
253 .trace = trace_raw_output_##call, \
261 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument
262 static struct trace_event_fields trace_event_fields_##call[] = { \
277 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
278 static inline notrace int trace_event_get_offsets_##call( \
279 struct trace_event_data_offsets_##call *__data_offsets, proto) \
283 struct trace_event_raw_##call __maybe_unused *entry; \
303 * static struct trace_event_call event_<call>;
305 * static void trace_event_raw_event_<call>(void *__data, proto)
309 * struct trace_event_data_offsets_<call> __maybe_unused __data_offsets;
313 * struct trace_event_raw_<call> *entry; <-- defined in stage 1
329 * __data_size = trace_event_get_offsets_<call>(&__data_offsets, args);
332 * event_<call>->event.type,
355 * static struct trace_event ftrace_event_type_<call> = {
356 * .trace = trace_raw_output_<call>, <-- stage 2
359 * static char print_fmt_<call>[] = <TP_printk>;
363 * .fields_array = trace_event_fields_<call>,
364 * .fields = LIST_HEAD_INIT(event_class_##call.fields),
366 * .probe = trace_event_raw_event_##call,
370 * static struct trace_event_call event_<call> = {
373 * .tp = &__tracepoint_<call>,
375 * .event = &ftrace_event_type_<call>,
376 * .print_fmt = print_fmt_<call>,
382 * __section("_ftrace_events") *__event_<call> = &event_<call>;
388 #define _TRACE_PERF_PROTO(call, proto) \ argument
390 perf_trace_##call(void *__data, proto);
392 #define _TRACE_PERF_INIT(call) \ argument
393 .perf_probe = perf_trace_##call,
396 #define _TRACE_PERF_PROTO(call, proto) argument
397 #define _TRACE_PERF_INIT(call) argument
404 #define __DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
406 do_trace_event_raw_event_##call(void *__data, proto) \
409 struct trace_event_data_offsets_##call __maybe_unused __data_offsets;\
411 struct trace_event_raw_##call *entry; \
417 __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \
433 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
434 __DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), PARAMS(tstruct), \
437 trace_event_raw_event_##call(void *__data, proto) \
439 do_trace_event_raw_event_##call(__data, args); \
443 #define DECLARE_EVENT_SYSCALL_CLASS(call, proto, args, tstruct, assign, print) \ argument
444 __DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), PARAMS(tstruct), \
447 trace_event_raw_event_##call(void *__data, proto) \
451 do_trace_event_raw_event_##call(__data, args); \
462 #define DEFINE_EVENT(template, call, proto, args) \ argument
463 static inline void ftrace_test_probe_##call(void) \
465 check_trace_callback_type_##call(trace_event_raw_event_##template); \
475 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
476 _TRACE_PERF_PROTO(call, PARAMS(proto)); \
477 static char print_fmt_##call[] = print; \
478 static struct trace_event_class __used __refdata event_class_##call = { \
480 .fields_array = trace_event_fields_##call, \
481 .fields = LIST_HEAD_INIT(event_class_##call.fields),\
483 .probe = trace_event_raw_event_##call, \
485 _TRACE_PERF_INIT(call) \
492 #define DEFINE_EVENT(template, call, proto, args) \ argument
494 static struct trace_event_call __used event_##call = { \
497 .tp = &__tracepoint_##call, \
504 __section("_ftrace_events") *__event_##call = &event_##call
507 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
509 static char print_fmt_##call[] = print; \
511 static struct trace_event_call __used event_##call = { \
514 .tp = &__tracepoint_##call, \
516 .event.funcs = &trace_event_type_funcs_##call, \
517 .print_fmt = print_fmt_##call, \
521 __section("_ftrace_events") *__event_##call = &event_##call