Searched refs:perf_link (Results 1 – 2 of 2) sorted by relevance
55 perf_link # v5.15+
9695 struct bpf_link_perf *perf_link = container_of(link, struct bpf_link_perf, link); in bpf_link_perf_detach() local9698 if (ioctl(perf_link->perf_event_fd, PERF_EVENT_IOC_DISABLE, 0) < 0) in bpf_link_perf_detach()9701 if (perf_link->perf_event_fd != link->fd) in bpf_link_perf_detach()9702 close(perf_link->perf_event_fd); in bpf_link_perf_detach()9706 if (perf_link->legacy_probe_name) { in bpf_link_perf_detach()9707 if (perf_link->legacy_is_kprobe) { in bpf_link_perf_detach()9708 err = remove_kprobe_event_legacy(perf_link->legacy_probe_name, in bpf_link_perf_detach()9709 perf_link->legacy_is_retprobe); in bpf_link_perf_detach()9711 err = remove_uprobe_event_legacy(perf_link->legacy_probe_name, in bpf_link_perf_detach()9712 perf_link->legacy_is_retprobe); in bpf_link_perf_detach()[all …]