Lines Matching refs:name

35 	const char *name;		/* Tracepoint name */  member
168 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument
169 static inline void trace_##name##_rcuidle(proto) \
171 if (static_key_false(&__tracepoint_##name.key)) \
172 __DO_TRACE(&__tracepoint_##name, \
180 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument
195 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
196 extern struct tracepoint __tracepoint_##name; \
197 static inline void trace_##name(proto) \
199 if (static_key_false(&__tracepoint_##name.key)) \
200 __DO_TRACE(&__tracepoint_##name, \
206 rcu_dereference_sched(__tracepoint_##name.funcs);\
210 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
213 register_trace_##name(void (*probe)(data_proto), void *data) \
215 return tracepoint_probe_register(&__tracepoint_##name, \
219 register_trace_prio_##name(void (*probe)(data_proto), void *data,\
222 return tracepoint_probe_register_prio(&__tracepoint_##name, \
226 unregister_trace_##name(void (*probe)(data_proto), void *data) \
228 return tracepoint_probe_unregister(&__tracepoint_##name,\
232 check_trace_callback_type_##name(void (*cb)(data_proto)) \
236 trace_##name##_enabled(void) \
238 return static_key_false(&__tracepoint_##name.key); \
246 #define DEFINE_TRACE_FN(name, reg, unreg) \ argument
247 static const char __tpstrtab_##name[] \
248 __attribute__((section("__tracepoints_strings"))) = #name; \
249 struct tracepoint __tracepoint_##name \
251 { __tpstrtab_##name, STATIC_KEY_INIT_FALSE, reg, unreg, NULL };\
252 static struct tracepoint * const __tracepoint_ptr_##name __used \
254 &__tracepoint_##name;
256 #define DEFINE_TRACE(name) \ argument
257 DEFINE_TRACE_FN(name, NULL, NULL);
259 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) \ argument
260 EXPORT_SYMBOL_GPL(__tracepoint_##name)
261 #define EXPORT_TRACEPOINT_SYMBOL(name) \ argument
262 EXPORT_SYMBOL(__tracepoint_##name)
265 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
266 static inline void trace_##name(proto) \
268 static inline void trace_##name##_rcuidle(proto) \
271 register_trace_##name(void (*probe)(data_proto), \
277 unregister_trace_##name(void (*probe)(data_proto), \
282 static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
286 trace_##name##_enabled(void) \
291 #define DEFINE_TRACE_FN(name, reg, unreg) argument
292 #define DEFINE_TRACE(name) argument
293 #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) argument
294 #define EXPORT_TRACEPOINT_SYMBOL(name) argument
356 #define DECLARE_TRACE_NOARGS(name) \ argument
357 __DECLARE_TRACE(name, void, , \
361 #define DECLARE_TRACE(name, proto, args) \ argument
362 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
367 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
368 __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
485 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) argument
486 #define DEFINE_EVENT(template, name, proto, args) \ argument
487 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
488 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\ argument
489 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
490 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
491 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
492 #define DEFINE_EVENT_CONDITION(template, name, proto, \ argument
494 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
497 #define TRACE_EVENT(name, proto, args, struct, assign, print) \ argument
498 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
499 #define TRACE_EVENT_FN(name, proto, args, struct, \ argument
501 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
502 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
504 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \