• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/trace/

Lines Matching refs:call

6  * struct ftrace_raw_<call> {
93 * struct ftrace_data_offsets_<call> {
120 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
121 struct ftrace_data_offsets_##call { \
140 * ftrace_raw_output_<call>(struct trace_iterator *iter, int flags)
143 * struct ftrace_raw_<call> *field; <-- defined in stage 1
150 * if (entry->type != event_<call>->event.type) {
158 * ret = trace_seq_printf(s, "%s: ", <call>);
205 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
207 ftrace_raw_output_##call(struct trace_iterator *iter, int flags, \
212 struct ftrace_raw_##call *field; \
238 static struct trace_event_functions ftrace_event_type_funcs_##call = { \
239 .trace = ftrace_raw_output_##call, \
243 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \
245 ftrace_raw_output_##call(struct trace_iterator *iter, int flags, \
256 if (entry->type != event_##call.event.type) { \
264 ret = trace_seq_printf(s, "%s: ", #call); \
272 static struct trace_event_functions ftrace_event_type_funcs_##call = { \
273 .trace = ftrace_raw_output_##call, \
311 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \
313 ftrace_define_fields_##call(struct ftrace_event_call *event_call) \
315 struct ftrace_raw_##call field; \
359 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
360 static inline notrace int ftrace_get_offsets_##call( \
361 struct ftrace_data_offsets_##call *__data_offsets, proto) \
364 struct ftrace_raw_##call __maybe_unused *entry; \
387 * static struct ftrace_event_call event_<call>;
389 * static void ftrace_raw_event_<call>(void *__data, proto)
392 * struct ftrace_data_offsets_<call> __maybe_unused __data_offsets;
394 * struct ftrace_raw_<call> *entry; <-- defined in stage 1
403 * __data_size = ftrace_get_offsets_<call>(&__data_offsets, args);
406 * event_<call>->event.type,
421 * static struct trace_event ftrace_event_type_<call> = {
422 * .trace = ftrace_raw_output_<call>, <-- stage 2
425 * static const char print_fmt_<call>[] = <TP_printk>;
429 * .define_fields = ftrace_define_fields_<call>,
430 * .fields = LIST_HEAD_INIT(event_class_##call.fields),
432 * .probe = ftrace_raw_event_##call,
438 * __attribute__((section("_ftrace_events"))) event_<call> = {
439 * .name = "<call>",
441 * .event = &ftrace_event_type_<call>,
442 * .print_fmt = print_fmt_<call>,
449 #define _TRACE_PERF_PROTO(call, proto) \
451 perf_trace_##call(void *__data, proto);
453 #define _TRACE_PERF_INIT(call) \
454 .perf_probe = perf_trace_##call,
457 #define _TRACE_PERF_PROTO(call, proto)
458 #define _TRACE_PERF_INIT(call)
488 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
491 ftrace_raw_event_##call(void *__data, proto) \
494 struct ftrace_data_offsets_##call __maybe_unused __data_offsets;\
496 struct ftrace_raw_##call *entry; \
505 __data_size = ftrace_get_offsets_##call(&__data_offsets, args); \
530 #define DEFINE_EVENT(template, call, proto, args) \
531 static inline void ftrace_test_probe_##call(void) \
533 check_trace_callback_type_##call(ftrace_raw_event_##template); \
553 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
554 _TRACE_PERF_PROTO(call, PARAMS(proto)); \
555 static const char print_fmt_##call[] = print; \
556 static struct ftrace_event_class __used event_class_##call = { \
558 .define_fields = ftrace_define_fields_##call, \
559 .fields = LIST_HEAD_INIT(event_class_##call.fields),\
561 .probe = ftrace_raw_event_##call, \
563 _TRACE_PERF_INIT(call) \
567 #define DEFINE_EVENT(template, call, proto, args) \
571 __attribute__((section("_ftrace_events"))) event_##call = { \
572 .name = #call, \
579 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \
581 static const char print_fmt_##call[] = print; \
585 __attribute__((section("_ftrace_events"))) event_##call = { \
586 .name = #call, \
588 .event.funcs = &ftrace_event_type_funcs_##call, \
589 .print_fmt = print_fmt_##call, \
597 * The job is very similar to ftrace_raw_event_<call> except that we don't
600 * static void ftrace_perf_<call>(proto)
602 * struct ftrace_data_offsets_<call> __maybe_unused __data_offsets;
603 * struct ftrace_event_call *event_call = &event_<call>;
605 * struct ftrace_raw_##call *entry;
617 * __data_size = ftrace_get_offsets_<call>(&__data_offsets, args);
653 * entry = (struct ftrace_raw_<call> *)raw_data;
687 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
689 perf_trace_##call(void *__data, proto) \
692 struct ftrace_data_offsets_##call __maybe_unused __data_offsets;\
693 struct ftrace_raw_##call *entry; \
703 __data_size = ftrace_get_offsets_##call(&__data_offsets, args); \
712 entry = (struct ftrace_raw_##call *)perf_trace_buf_prepare( \
732 #define DEFINE_EVENT(template, call, proto, args) \
733 static inline void perf_test_probe_##call(void) \
735 check_trace_callback_type_##call(perf_trace_##template); \