Lines Matching refs:call

62 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\
63 struct trace_custom_event_data_offsets_##call { \
77 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
79 trace_custom_raw_output_##call(struct trace_iterator *iter, int flags, \
84 struct trace_custom_event_raw_##call *field; \
97 static struct trace_event_functions trace_custom_event_type_funcs_##call = { \
98 .trace = trace_custom_raw_output_##call, \
108 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, func, print) \
109 static struct trace_event_fields trace_custom_event_fields_##call[] = { \
120 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
121 static inline notrace int trace_custom_event_get_offsets_##call( \
122 struct trace_custom_event_data_offsets_##call *__data_offsets, proto) \
126 struct trace_custom_event_raw_##call __maybe_unused *entry; \
140 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
143 trace_custom_event_raw_event_##call(void *__data, proto) \
146 struct trace_custom_event_data_offsets_##call __maybe_unused __data_offsets; \
148 struct trace_custom_event_raw_##call *entry; \
154 __data_size = trace_custom_event_get_offsets_##call(&__data_offsets, args); \
175 #define DEFINE_CUSTOM_EVENT(template, call, proto, args) \
176 static inline void ftrace_test_custom_probe_##call(void) \
178 check_trace_callback_type_##call(trace_custom_event_raw_event_##template); \
188 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
189 static char custom_print_fmt_##call[] = print; \
190 static struct trace_event_class __used __refdata custom_event_class_##call = { \
192 .fields_array = trace_custom_event_fields_##call, \
193 .fields = LIST_HEAD_INIT(custom_event_class_##call.fields),\
195 .probe = trace_custom_event_raw_event_##call, \
200 #define DEFINE_CUSTOM_EVENT(template, call, proto, args) \
202 static struct trace_event_call __used custom_event_##call = { \
203 .name = #call, \
209 static inline int trace_custom_event_##call##_update(struct tracepoint *tp) \
211 if (tp->name && strcmp(tp->name, #call) == 0) { \
212 custom_event_##call.tp = tp; \
213 custom_event_##call.flags = TRACE_EVENT_FL_TRACEPOINT; \
219 __section("_ftrace_events") *__custom_event_##call = &custom_event_##call