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

/linux-master/tools/bpf/bpftool/skeleton/
H A Dpid_iter.bpf.c57 struct bpf_perf_link___local *perf_link; local
60 perf_link = container_of(link, struct bpf_perf_link___local, link);
61 event = BPF_CORE_READ(perf_link, perf_file, private_data);
/linux-master/kernel/bpf/
H A Dsyscall.c3589 struct bpf_perf_link *perf_link = container_of(link, struct bpf_perf_link, link); local
3590 struct perf_event *event = perf_link->perf_file->private_data;
3593 fput(perf_link->perf_file);
3598 struct bpf_perf_link *perf_link = container_of(link, struct bpf_perf_link, link); local
3600 kfree(perf_link);
3733 struct bpf_perf_link *perf_link; local
3736 perf_link = container_of(link, struct bpf_perf_link, link);
3737 event = perf_get_event(perf_link->perf_file);
/linux-master/tools/lib/bpf/
H A Dlibbpf.c10567 struct bpf_link_perf *perf_link = container_of(link, struct bpf_link_perf, link); local
10570 if (ioctl(perf_link->perf_event_fd, PERF_EVENT_IOC_DISABLE, 0) < 0)
10573 if (perf_link->perf_event_fd != link->fd)
10574 close(perf_link->perf_event_fd);
10578 if (perf_link->legacy_probe_name) {
10579 if (perf_link->legacy_is_kprobe) {
10580 err = remove_kprobe_event_legacy(perf_link->legacy_probe_name,
10581 perf_link->legacy_is_retprobe);
10583 err = remove_uprobe_event_legacy(perf_link->legacy_probe_name,
10584 perf_link
10593 struct bpf_link_perf *perf_link = container_of(link, struct bpf_link_perf, link); local
11078 struct bpf_link_perf *perf_link = container_of(link, struct bpf_link_perf, link); local
11977 struct bpf_link_perf *perf_link = container_of(link, struct bpf_link_perf, link); local
[all...]

Completed in 277 milliseconds