1 #ifndef TRACEPOINT_DEFS_H
2 #define TRACEPOINT_DEFS_H 1
5 * File can be included directly by headers who only want to access
6 * tracepoint->key to guard out of line trace calls. Otherwise
7 * linux/tracepoint.h should be used.
10 #include <linux/atomic.h>
11 #include <linux/static_key.h>
13 struct tracepoint_func {
20 const char *name; /* Tracepoint name */
21 struct static_key key;
22 void (*regfunc)(void);
23 void (*unregfunc)(void);
24 struct tracepoint_func __rcu *funcs;