• Home
  • Raw
  • Download

Lines Matching refs:name

106 #define __TRACEPOINT_ENTRY(name)					\  argument
109 " .long __tracepoint_" #name " - . \n" \
117 #define __TRACEPOINT_ENTRY(name) \ argument
118 static tracepoint_ptr_t __tracepoint_ptr_##name __used \
120 &__tracepoint_##name
206 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument
207 static inline void trace_##name##_rcuidle(proto) \
209 if (static_key_false(&__tracepoint_##name.key)) \
210 __DO_TRACE(&__tracepoint_##name, \
216 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument
231 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
232 extern struct tracepoint __tracepoint_##name; \
233 static inline void trace_##name(proto) \
235 if (static_key_false(&__tracepoint_##name.key)) \
236 __DO_TRACE(&__tracepoint_##name, \
242 rcu_dereference_sched(__tracepoint_##name.funcs);\
246 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
249 register_trace_##name(void (*probe)(data_proto), void *data) \
251 return tracepoint_probe_register(&__tracepoint_##name, \
255 register_trace_prio_##name(void (*probe)(data_proto), void *data,\
258 return tracepoint_probe_register_prio(&__tracepoint_##name, \
262 unregister_trace_##name(void (*probe)(data_proto), void *data) \
264 return tracepoint_probe_unregister(&__tracepoint_##name,\
268 check_trace_callback_type_##name(void (*cb)(data_proto)) \
272 trace_##name##_enabled(void) \
274 return static_key_false(&__tracepoint_##name.key); \
282 #define DEFINE_TRACE_FN(name, reg, unreg) \ argument
283 static const char __tpstrtab_##name[] \
284 __attribute__((section("__tracepoints_strings"))) = #name; \
285 struct tracepoint __tracepoint_##name \
287 { __tpstrtab_##name, STATIC_KEY_INIT_FALSE, reg, unreg, NULL };\
288 __TRACEPOINT_ENTRY(name);
290 #define DEFINE_TRACE(name) \ argument
291 DEFINE_TRACE_FN(name, NULL, NULL);
293 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) \ argument
294 EXPORT_SYMBOL_GPL(__tracepoint_##name)
295 #define EXPORT_TRACEPOINT_SYMBOL(name) \ argument
296 EXPORT_SYMBOL(__tracepoint_##name)
299 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
300 static inline void trace_##name(proto) \
302 static inline void trace_##name##_rcuidle(proto) \
305 register_trace_##name(void (*probe)(data_proto), \
311 unregister_trace_##name(void (*probe)(data_proto), \
316 static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
320 trace_##name##_enabled(void) \
325 #define DEFINE_TRACE_FN(name, reg, unreg) argument
326 #define DEFINE_TRACE(name) argument
327 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) argument
328 #define EXPORT_TRACEPOINT_SYMBOL(name) argument
390 #define DECLARE_TRACE_NOARGS(name) \ argument
391 __DECLARE_TRACE(name, void, , \
395 #define DECLARE_TRACE(name, proto, args) \ argument
396 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
401 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
402 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
519 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) argument
520 #define DEFINE_EVENT(template, name, proto, args) \ argument
521 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
522 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\ argument
523 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
524 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
525 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
526 #define DEFINE_EVENT_CONDITION(template, name, proto, \ argument
528 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
531 #define TRACE_EVENT(name, proto, args, struct, assign, print) \ argument
532 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
533 #define TRACE_EVENT_FN(name, proto, args, struct, \ argument
535 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
536 #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ argument
538 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
540 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
542 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
549 #define DECLARE_EVENT_NOP(name, proto, args) \ argument
550 static inline void trace_##name(proto) \
552 static inline bool trace_##name##_enabled(void) \
557 #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print) \ argument
558 DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args))
560 #define DECLARE_EVENT_CLASS_NOP(name, proto, args, tstruct, assign, print) argument
561 #define DEFINE_EVENT_NOP(template, name, proto, args) \ argument
562 DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args))