Searched refs:perf_link (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/bpf/bpftool/skeleton/ |
| H A D | pid_iter.bpf.c | 58 struct bpf_perf_link___local *perf_link; in get_bpf_cookie() local 61 perf_link = container_of(link, struct bpf_perf_link___local, link); in get_bpf_cookie() 62 event = BPF_CORE_READ(perf_link, perf_file, private_data); in get_bpf_cookie()
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 3956 struct bpf_perf_link *perf_link = container_of(link, struct bpf_perf_link, link); in bpf_perf_link_fill_common() 3957 struct perf_event *event = perf_link->perf_file->private_data; in bpf_perf_link_fill_common() 3960 fput(perf_link->perf_file); in bpf_perf_link_fill_common() 3965 struct bpf_perf_link *perf_link = container_of(link, struct bpf_perf_link, link); in bpf_perf_link_fill_common() 3967 kfree(perf_link); in bpf_perf_link_fill_common() 4167 struct bpf_perf_link *perf_link; in bpf_perf_link_fill_link_info() 4170 perf_link = container_of(link, struct bpf_perf_link, link); in bpf_perf_event_link_show_fdinfo() 4171 event = perf_get_event(perf_link->perf_file); in bpf_perf_event_link_show_fdinfo() 4235 struct bpf_perf_link *perf_link; in bpf_perf_link_show_fdinfo() 4238 perf_link 3939 struct bpf_perf_link *perf_link = container_of(link, struct bpf_perf_link, link); bpf_perf_link_release() local 3948 struct bpf_perf_link *perf_link = container_of(link, struct bpf_perf_link, link); bpf_perf_link_dealloc() local 4150 struct bpf_perf_link *perf_link; bpf_perf_link_fill_link_info() local 4218 struct bpf_perf_link *perf_link; bpf_perf_link_show_fdinfo() local [all...] |
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 11545 struct bpf_link_perf *perf_link = container_of(link, struct bpf_link_perf, link); in bpf_link_perf_detach() local 11548 if (ioctl(perf_link->perf_event_fd, PERF_EVENT_IOC_DISABLE, 0) < 0) in bpf_link_perf_detach() 11551 if (perf_link->perf_event_fd != link->fd) in bpf_link_perf_detach() 11552 close(perf_link->perf_event_fd); in bpf_link_perf_detach() 11556 if (perf_link->legacy_probe_name) { in bpf_link_perf_detach() 11557 if (perf_link->legacy_is_kprobe) { in bpf_link_perf_detach() 11558 err = remove_kprobe_event_legacy(perf_link->legacy_probe_name, in bpf_link_perf_detach() 11559 perf_link->legacy_is_retprobe); in bpf_link_perf_detach() 11561 err = remove_uprobe_event_legacy(perf_link->legacy_probe_name, in bpf_link_perf_detach() 11562 perf_link->legacy_is_retprobe); in bpf_link_perf_detach() [all …]
|