Lines Matching refs:name

108 #define __TRACEPOINT_ENTRY(name)					\  argument
111 " .long __tracepoint_" #name " - . \n" \
119 #define __TRACEPOINT_ENTRY(name) \ argument
120 static tracepoint_ptr_t __tracepoint_ptr_##name __used \
122 &__tracepoint_##name
208 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument
209 static inline void trace_##name##_rcuidle(proto) \
211 if (static_key_false(&__tracepoint_##name.key)) \
212 __DO_TRACE(&__tracepoint_##name, \
218 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument
233 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
234 extern struct tracepoint __tracepoint_##name; \
235 static inline void trace_##name(proto) \
237 if (static_key_false(&__tracepoint_##name.key)) \
238 __DO_TRACE(&__tracepoint_##name, \
244 rcu_dereference_sched(__tracepoint_##name.funcs);\
248 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
251 register_trace_##name(void (*probe)(data_proto), void *data) \
253 return tracepoint_probe_register(&__tracepoint_##name, \
257 register_trace_prio_##name(void (*probe)(data_proto), void *data,\
260 return tracepoint_probe_register_prio(&__tracepoint_##name, \
264 unregister_trace_##name(void (*probe)(data_proto), void *data) \
266 return tracepoint_probe_unregister(&__tracepoint_##name,\
270 check_trace_callback_type_##name(void (*cb)(data_proto)) \
274 trace_##name##_enabled(void) \
276 return static_key_false(&__tracepoint_##name.key); \
284 #define DEFINE_TRACE_FN(name, reg, unreg) \ argument
285 static const char __tpstrtab_##name[] \
286 __attribute__((section("__tracepoints_strings"))) = #name; \
287 struct tracepoint __tracepoint_##name \
289 { __tpstrtab_##name, STATIC_KEY_INIT_FALSE, reg, unreg, NULL };\
290 __TRACEPOINT_ENTRY(name);
292 #define DEFINE_TRACE(name) \ argument
293 DEFINE_TRACE_FN(name, NULL, NULL);
295 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) \ argument
296 EXPORT_SYMBOL_GPL(__tracepoint_##name)
297 #define EXPORT_TRACEPOINT_SYMBOL(name) \ argument
298 EXPORT_SYMBOL(__tracepoint_##name)
301 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
302 static inline void trace_##name(proto) \
304 static inline void trace_##name##_rcuidle(proto) \
307 register_trace_##name(void (*probe)(data_proto), \
313 unregister_trace_##name(void (*probe)(data_proto), \
318 static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
322 trace_##name##_enabled(void) \
327 #define DEFINE_TRACE_FN(name, reg, unreg) argument
328 #define DEFINE_TRACE(name) argument
329 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) argument
330 #define EXPORT_TRACEPOINT_SYMBOL(name) argument
392 #define DECLARE_TRACE_NOARGS(name) \ argument
393 __DECLARE_TRACE(name, void, , \
397 #define DECLARE_TRACE(name, proto, args) \ argument
398 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
403 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
404 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
521 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) argument
522 #define DEFINE_EVENT(template, name, proto, args) \ argument
523 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
524 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\ argument
525 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
526 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
527 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
528 #define DEFINE_EVENT_CONDITION(template, name, proto, \ argument
530 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
533 #define TRACE_EVENT(name, proto, args, struct, assign, print) \ argument
534 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
535 #define TRACE_EVENT_FN(name, proto, args, struct, \ argument
537 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
538 #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ argument
540 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
542 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
544 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \