Home
last modified time | relevance | path

Searched refs:btp (Results 1 – 2 of 2) sorted by relevance

/kernel/trace/
Dbpf_trace.c53 struct bpf_raw_event_map *btp, *ret = NULL; in bpf_get_raw_tracepoint_module() local
60 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module()
61 if (!strcmp(btp->tp->name, name)) { in bpf_get_raw_tracepoint_module()
63 ret = btp; in bpf_get_raw_tracepoint_module()
2244 struct bpf_raw_event_map *btp = __start__bpf_raw_tp; in bpf_get_raw_tracepoint() local
2246 for (; btp < __stop__bpf_raw_tp; btp++) { in bpf_get_raw_tracepoint()
2247 if (!strcmp(btp->tp->name, name)) in bpf_get_raw_tracepoint()
2248 return btp; in bpf_get_raw_tracepoint()
2254 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) in bpf_put_raw_tracepoint() argument
2259 mod = __module_address((unsigned long)btp); in bpf_put_raw_tracepoint()
[all …]
/kernel/bpf/
Dsyscall.c3147 struct bpf_raw_event_map *btp; member
3155 bpf_probe_unregister(raw_tp->btp, raw_tp->link.prog); in bpf_raw_tp_link_release()
3156 bpf_put_raw_tracepoint(raw_tp->btp); in bpf_raw_tp_link_release()
3175 raw_tp_link->btp->tp->name); in bpf_raw_tp_link_show_fdinfo()
3184 const char *tp_name = raw_tp_link->btp->tp->name; in bpf_raw_tp_link_fill_link_info()
3302 struct bpf_raw_event_map *btp; in bpf_raw_tp_link_attach() local
3333 btp = bpf_get_raw_tracepoint(tp_name); in bpf_raw_tp_link_attach()
3334 if (!btp) in bpf_raw_tp_link_attach()
3344 link->btp = btp; in bpf_raw_tp_link_attach()
3352 err = bpf_probe_register(link->btp, prog); in bpf_raw_tp_link_attach()
[all …]