• Home
  • Raw
  • Download

Lines Matching refs:name

154 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args)	\  argument
155 static inline void trace_##name##_rcuidle(proto) \
157 if (static_key_false(&__tracepoint_##name.key)) \
158 __DO_TRACE(&__tracepoint_##name, \
166 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument
181 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
182 extern struct tracepoint __tracepoint_##name; \
183 static inline void trace_##name(proto) \
185 if (static_key_false(&__tracepoint_##name.key)) \
186 __DO_TRACE(&__tracepoint_##name, \
192 rcu_dereference_sched(__tracepoint_##name.funcs);\
196 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
199 register_trace_##name(void (*probe)(data_proto), void *data) \
201 return tracepoint_probe_register(&__tracepoint_##name, \
205 register_trace_prio_##name(void (*probe)(data_proto), void *data,\
208 return tracepoint_probe_register_prio(&__tracepoint_##name, \
212 unregister_trace_##name(void (*probe)(data_proto), void *data) \
214 return tracepoint_probe_unregister(&__tracepoint_##name,\
218 check_trace_callback_type_##name(void (*cb)(data_proto)) \
222 trace_##name##_enabled(void) \
224 return static_key_false(&__tracepoint_##name.key); \
232 #define DEFINE_TRACE_FN(name, reg, unreg) \ argument
233 static const char __tpstrtab_##name[] \
234 __attribute__((section("__tracepoints_strings"))) = #name; \
235 struct tracepoint __tracepoint_##name \
237 { __tpstrtab_##name, STATIC_KEY_INIT_FALSE, reg, unreg, NULL };\
238 static struct tracepoint * const __tracepoint_ptr_##name __used \
240 &__tracepoint_##name;
242 #define DEFINE_TRACE(name) \ argument
243 DEFINE_TRACE_FN(name, NULL, NULL);
245 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) \ argument
246 EXPORT_SYMBOL_GPL(__tracepoint_##name)
247 #define EXPORT_TRACEPOINT_SYMBOL(name) \ argument
248 EXPORT_SYMBOL(__tracepoint_##name)
251 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
252 static inline void trace_##name(proto) \
254 static inline void trace_##name##_rcuidle(proto) \
257 register_trace_##name(void (*probe)(data_proto), \
263 unregister_trace_##name(void (*probe)(data_proto), \
268 static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
272 trace_##name##_enabled(void) \
277 #define DEFINE_TRACE_FN(name, reg, unreg) argument
278 #define DEFINE_TRACE(name) argument
279 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) argument
280 #define EXPORT_TRACEPOINT_SYMBOL(name) argument
342 #define DECLARE_TRACE_NOARGS(name) \ argument
343 __DECLARE_TRACE(name, void, , \
347 #define DECLARE_TRACE(name, proto, args) \ argument
348 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
353 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
354 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
471 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) argument
472 #define DEFINE_EVENT(template, name, proto, args) \ argument
473 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
474 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\ argument
475 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
476 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
477 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
478 #define DEFINE_EVENT_CONDITION(template, name, proto, \ argument
480 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
483 #define TRACE_EVENT(name, proto, args, struct, assign, print) \ argument
484 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
485 #define TRACE_EVENT_FN(name, proto, args, struct, \ argument
487 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
488 #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ argument
490 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
492 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
494 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \