tracepoint
#define TRACE_INCLUDE_FILE tracepoint
#define rwmmio_tracepoint_enabled(tracepoint) tracepoint_enabled(tracepoint)
#define rwmmio_tracepoint_enabled(tracepoint) false
BPF_PROG_TYPE(BPF_PROG_TYPE_TRACEPOINT, tracepoint,
struct tracepoint *tp;
typedef struct tracepoint * const tracepoint_ptr_t;
struct tracepoint *tp;
extern struct tracepoint __tracepoint_##tp
# define tracepoint_enabled(tracepoint) false
static inline bool tracepoint_is_faultable(struct tracepoint *tp)
static inline bool tracepoint_is_faultable(struct tracepoint *tp)
static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
struct tracepoint;
extern struct tracepoint __tracepoint_##name; \
struct tracepoint __tracepoint_##_name __used \
tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data);
tracepoint_probe_register_prio(struct tracepoint *tp, void *probe, void *data,
tracepoint_probe_register_prio_may_exist(struct tracepoint *tp, void *probe, void *data,
tracepoint_probe_unregister(struct tracepoint *tp, void *probe, void *data);
tracepoint_probe_register_may_exist(struct tracepoint *tp, void *probe,
for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv),
void for_each_module_tracepoint(void (*fct)(struct tracepoint *,
void (*fct)(struct tracepoint *,
void for_each_module_tracepoint(void (*fct)(struct tracepoint *,
void (*fct)(struct tracepoint *,
static inline int trace_custom_event_##call##_update(struct tracepoint *tp) \
} tracepoint; /* BPF_PERF_EVENT_TRACEPOINT */
uname = u64_to_user_ptr(info->perf_event.tracepoint.tp_name);
ulen = info->perf_event.tracepoint.name_len;
info->perf_event.tracepoint.name_len = ulen;
info->perf_event.tracepoint.cookie = event->bpf_cookie;
struct kernel_symbol *ks, struct tracepoint * const *tp);
struct tracepoint * const *tp)
struct tracepoint *tp = btp->tp;
struct tracepoint *tp = event->tp;
static void free_synth_tracepoint(struct tracepoint *tp)
static struct tracepoint *alloc_synth_tracepoint(char *name)
struct tracepoint *tp;
struct tracepoint *tp = &user->tracepoint;
user->tracepoint.name = multi_name;
user->tracepoint.name = user->reg_name;
user->call.tp = &user->tracepoint;
struct tracepoint *tp;
tp = &user->tracepoint;
#define EVENT_TP_NAME(user_event) ((user_event)->tracepoint.name)
struct tracepoint tracepoint;
static void __find_tracepoint_cb(struct tracepoint *tp, void *priv)
static struct tracepoint *find_tracepoint(const char *tp_name,
static struct tracepoint *find_tracepoint_in_module(struct module *mod,
struct tracepoint *tpoint)
struct tracepoint *tpoint;
static struct tracepoint *find_tracepoint(const char *tp_name,
struct tracepoint *tpoint;
struct tracepoint *tpoint;
struct tracepoint *tpoint;
struct tracepoint *tpoint = tuser->tpoint;
static struct tracepoint_user *__tracepoint_user_init(const char *name, struct tracepoint *tpoint)
struct tracepoint *tpoint;
static void __find_tracepoint_module_cb(struct tracepoint *tp, struct module *mod, void *priv)
struct tracepoint *tp;
static inline void release_probes(struct tracepoint *tp, struct tracepoint_func *old)
static void tracepoint_update_call(struct tracepoint *tp, struct tracepoint_func *tp_funcs)
static int tracepoint_add_func(struct tracepoint *tp,
static int tracepoint_remove_func(struct tracepoint *tp,
int tracepoint_probe_register_prio_may_exist(struct tracepoint *tp, void *probe,
int tracepoint_probe_register_prio(struct tracepoint *tp, void *probe,
int tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data)
int tracepoint_probe_unregister(struct tracepoint *tp, void *probe, void *data)
void (*fct)(struct tracepoint *tp, void *priv),
static void tp_module_going_check_quiescent(struct tracepoint *tp, void *priv)
void (*fct)(struct tracepoint *tp,
void for_each_module_tracepoint(void (*fct)(struct tracepoint *tp,
void for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv),
static void fct(struct tracepoint *tp, void *priv)
if (!info.perf_event.tracepoint.tp_name) {
info.perf_event.tracepoint.tp_name = ptr_to_u64(&buf);
info.perf_event.tracepoint.name_len = sizeof(buf);
u64_to_ptr(info->perf_event.tracepoint.tp_name));
jsonw_uint_field(wtr, "cookie", info->perf_event.tracepoint.cookie);
buf = u64_to_ptr(info->perf_event.tracepoint.tp_name);
if (info->perf_event.tracepoint.cookie)
printf("cookie %llu ", info->perf_event.tracepoint.cookie);
} tracepoint; /* BPF_PERF_EVENT_TRACEPOINT */
struct tracepoint_name tracepoint = {$1, $3};
$$ = tracepoint;
ASSERT_EQ(info.perf_event.tracepoint.name_len, strlen(TP_NAME) + 1,
if (!info.perf_event.tracepoint.tp_name) {
info.perf_event.tracepoint.tp_name = ptr_to_u64(&buf);
info.perf_event.tracepoint.name_len = sizeof(buf);
ASSERT_EQ(info.perf_event.tracepoint.cookie, PERF_EVENT_COOKIE, "tracepoint_cookie");
err = strncmp(u64_to_ptr(info.perf_event.tracepoint.tp_name), TP_NAME,