Lines Matching refs:name

119 #define __TRACEPOINT_ENTRY(name)					\  argument
122 " .long __tracepoint_" #name " - . \n" \
130 #define __TRACEPOINT_ENTRY(name) \ argument
131 static tracepoint_ptr_t __tracepoint_ptr_##name __used \
132 __section("__tracepoints_ptrs") = &__tracepoint_##name
165 #define __DO_TRACE_CALL(name, args) \ argument
170 rcu_dereference_raw((&__tracepoint_##name)->funcs); \
173 static_call(tp_func_##name)(__data, args); \
177 #define __DO_TRACE_CALL(name, args) __traceiter_##name(NULL, args) argument
195 #define __DO_TRACE(name, args, cond, rcuidle) \ argument
217 __DO_TRACE_CALL(name, TP_ARGS(args)); \
228 #define __DECLARE_TRACE_RCU(name, proto, args, cond) \ argument
229 static inline void trace_##name##_rcuidle(proto) \
231 if (static_key_false(&__tracepoint_##name.key)) \
232 __DO_TRACE(name, \
237 #define __DECLARE_TRACE_RCU(name, proto, args, cond) argument
251 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument
252 extern int __traceiter_##name(data_proto); \
253 DECLARE_STATIC_CALL(tp_func_##name, __traceiter_##name); \
254 extern struct tracepoint __tracepoint_##name; \
255 static inline void trace_##name(proto) \
257 if (static_key_false(&__tracepoint_##name.key)) \
258 __DO_TRACE(name, \
265 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
268 register_trace_##name(void (*probe)(data_proto), void *data) \
270 return tracepoint_probe_register(&__tracepoint_##name, \
274 register_trace_prio_##name(void (*probe)(data_proto), void *data,\
277 return tracepoint_probe_register_prio(&__tracepoint_##name, \
281 unregister_trace_##name(void (*probe)(data_proto), void *data) \
283 return tracepoint_probe_unregister(&__tracepoint_##name,\
287 check_trace_callback_type_##name(void (*cb)(data_proto)) \
291 trace_##name##_enabled(void) \
293 return static_key_false(&__tracepoint_##name.key); \
309 .name = __tpstrtab_##_name, \
340 #define DEFINE_TRACE(name, proto, args) \ argument
341 DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
343 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) \ argument
344 EXPORT_SYMBOL_GPL(__tracepoint_##name); \
345 EXPORT_SYMBOL_GPL(__traceiter_##name); \
346 EXPORT_STATIC_CALL_GPL(tp_func_##name)
347 #define EXPORT_TRACEPOINT_SYMBOL(name) \ argument
348 EXPORT_SYMBOL(__tracepoint_##name); \
349 EXPORT_SYMBOL(__traceiter_##name); \
350 EXPORT_STATIC_CALL(tp_func_##name)
354 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument
355 static inline void trace_##name(proto) \
357 static inline void trace_##name##_rcuidle(proto) \
360 register_trace_##name(void (*probe)(data_proto), \
366 unregister_trace_##name(void (*probe)(data_proto), \
371 static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
375 trace_##name##_enabled(void) \
380 #define DEFINE_TRACE_FN(name, reg, unreg, proto, args) argument
381 #define DEFINE_TRACE(name, proto, args) argument
382 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) argument
383 #define EXPORT_TRACEPOINT_SYMBOL(name) argument
431 #define DECLARE_TRACE(name, proto, args) \ argument
432 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
436 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
437 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
553 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) argument
554 #define DEFINE_EVENT(template, name, proto, args) \ argument
555 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
556 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\ argument
557 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
558 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
559 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
560 #define DEFINE_EVENT_CONDITION(template, name, proto, \ argument
562 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
565 #define TRACE_EVENT(name, proto, args, struct, assign, print) \ argument
566 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
567 #define TRACE_EVENT_FN(name, proto, args, struct, \ argument
569 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
570 #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ argument
572 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
574 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
576 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
583 #define DECLARE_EVENT_NOP(name, proto, args) \ argument
584 static inline void trace_##name(proto) \
586 static inline bool trace_##name##_enabled(void) \
591 #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print) \ argument
592 DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args))
594 #define DECLARE_EVENT_CLASS_NOP(name, proto, args, tstruct, assign, print) argument
595 #define DEFINE_EVENT_NOP(template, name, proto, args) \ argument
596 DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args))