Lines Matching refs:name

138 #define __TRACEPOINT_ENTRY(name)					\  argument
141 " .long __tracepoint_" #name " - . \n" \
149 #define __TRACEPOINT_ENTRY(name) \ argument
150 static tracepoint_ptr_t __tracepoint_ptr_##name __used \
151 __section("__tracepoints_ptrs") = &__tracepoint_##name
184 #define __DO_TRACE_CALL(name, args) \ argument
189 rcu_dereference_raw((&__tracepoint_##name)->funcs); \
192 static_call(tp_func_##name)(__data, args); \
196 #define __DO_TRACE_CALL(name, args) __traceiter_##name(NULL, args) argument
214 #define __DO_TRACE(name, args, cond, rcuidle) \ argument
237 __DO_TRACE_CALL(name, TP_ARGS(args)); \
248 #define __DECLARE_TRACE_RCU(name, proto, args, cond) \ argument
249 static inline void trace_##name##_rcuidle(proto) \
251 if (static_key_false(&__tracepoint_##name.key)) \
252 __DO_TRACE(name, \
257 #define __DECLARE_TRACE_RCU(name, proto, args, cond) argument
271 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument
272 extern int __traceiter_##name(data_proto); \
273 DECLARE_STATIC_CALL(tp_func_##name, __traceiter_##name); \
274 extern struct tracepoint __tracepoint_##name; \
275 static inline void trace_##name(proto) \
277 if (static_key_false(&__tracepoint_##name.key)) \
278 __DO_TRACE(name, \
286 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
289 register_trace_##name(void (*probe)(data_proto), void *data) \
291 return tracepoint_probe_register(&__tracepoint_##name, \
295 register_trace_prio_##name(void (*probe)(data_proto), void *data,\
298 return tracepoint_probe_register_prio(&__tracepoint_##name, \
302 unregister_trace_##name(void (*probe)(data_proto), void *data) \
304 return tracepoint_probe_unregister(&__tracepoint_##name,\
308 check_trace_callback_type_##name(void (*cb)(data_proto)) \
312 trace_##name##_enabled(void) \
314 return static_key_false(&__tracepoint_##name.key); \
330 .name = __tpstrtab_##_name, \
361 #define DEFINE_TRACE(name, proto, args) \ argument
362 DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
364 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) \ argument
365 EXPORT_SYMBOL_GPL(__tracepoint_##name); \
366 EXPORT_SYMBOL_GPL(__traceiter_##name); \
367 EXPORT_STATIC_CALL_GPL(tp_func_##name)
368 #define EXPORT_TRACEPOINT_SYMBOL(name) \ argument
369 EXPORT_SYMBOL(__tracepoint_##name); \
370 EXPORT_SYMBOL(__traceiter_##name); \
371 EXPORT_STATIC_CALL(tp_func_##name)
375 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument
376 static inline void trace_##name(proto) \
378 static inline void trace_##name##_rcuidle(proto) \
381 register_trace_##name(void (*probe)(data_proto), \
387 unregister_trace_##name(void (*probe)(data_proto), \
392 static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
396 trace_##name##_enabled(void) \
401 #define DEFINE_TRACE_FN(name, reg, unreg, proto, args) argument
402 #define DEFINE_TRACE(name, proto, args) argument
403 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) argument
404 #define EXPORT_TRACEPOINT_SYMBOL(name) argument
452 #define DECLARE_TRACE(name, proto, args) \ argument
453 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
457 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
458 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
574 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) argument
575 #define DEFINE_EVENT(template, name, proto, args) \ argument
576 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
577 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\ argument
578 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
579 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
580 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
581 #define DEFINE_EVENT_CONDITION(template, name, proto, \ argument
583 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
586 #define TRACE_EVENT(name, proto, args, struct, assign, print) \ argument
587 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
588 #define TRACE_EVENT_FN(name, proto, args, struct, \ argument
590 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
591 #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ argument
593 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
595 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
597 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
604 #define DECLARE_EVENT_NOP(name, proto, args) \ argument
605 static inline void trace_##name(proto) \
607 static inline bool trace_##name##_enabled(void) \
612 #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print) \ argument
613 DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args))
615 #define DECLARE_EVENT_CLASS_NOP(name, proto, args, tstruct, assign, print) argument
616 #define DEFINE_EVENT_NOP(template, name, proto, args) \ argument
617 DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args))