Home
last modified time | relevance | path

Searched refs:perf_link (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/tools/bpf/bpftool/skeleton/
A Dpid_iter.bpf.c44 struct bpf_perf_link *perf_link; in get_bpf_cookie() local
47 perf_link = container_of(link, struct bpf_perf_link, link); in get_bpf_cookie()
48 event = BPF_CORE_READ(perf_link, perf_file, private_data); in get_bpf_cookie()
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf.c9695 if (perf_link->perf_event_fd != link->fd) in bpf_link_perf_detach()
9696 close(perf_link->perf_event_fd); in bpf_link_perf_detach()
9700 if (perf_link->legacy_probe_name) { in bpf_link_perf_detach()
9701 if (perf_link->legacy_is_kprobe) { in bpf_link_perf_detach()
9703 perf_link->legacy_is_retprobe); in bpf_link_perf_detach()
9706 perf_link->legacy_is_retprobe); in bpf_link_perf_detach()
9717 free(perf_link->legacy_probe_name); in bpf_link_perf_dealloc()
9718 free(perf_link); in bpf_link_perf_dealloc()
10163 perf_link->legacy_is_kprobe = true; in bpf_program__attach_kprobe_opts()
10164 perf_link->legacy_is_retprobe = retprobe; in bpf_program__attach_kprobe_opts()
[all …]
/linux-6.3-rc2/kernel/bpf/
A Dsyscall.c3239 struct bpf_perf_link *perf_link = container_of(link, struct bpf_perf_link, link); in bpf_perf_link_release() local
3240 struct perf_event *event = perf_link->perf_file->private_data; in bpf_perf_link_release()
3243 fput(perf_link->perf_file); in bpf_perf_link_release()
3248 struct bpf_perf_link *perf_link = container_of(link, struct bpf_perf_link, link); in bpf_perf_link_dealloc() local
3250 kfree(perf_link); in bpf_perf_link_dealloc()

Completed in 65 milliseconds