Searched refs:bpf_program__attach_perf_event (Results 1 – 14 of 14) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | get_stackid_cannot_attach.c | 49 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 65 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 82 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach()
|
D | perf_event_stackmap.c | 99 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_perf_event_stackmap()
|
D | find_vma.c | 67 link = bpf_program__attach_perf_event(skel->progs.handle_pe, pfd); in test_find_vma_pe()
|
D | stacktrace_build_id_nmi.c | 47 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_stacktrace_build_id_nmi()
|
D | perf_branches.c | 76 link = bpf_program__attach_perf_event(skel->progs.perf_branches, perf_fd); in test_perf_branches_common()
|
D | send_signal.c | 111 bpf_program__attach_perf_event(skel->progs.send_signal_perf, pmu_fd); in test_send_signal_common()
|
/linux-6.6.21/samples/bpf/ |
D | trace_event_user.c | 158 links[i] = bpf_program__attach_perf_event(prog, pmu_fd); in test_perf_event_all_cpu() 197 link = bpf_program__attach_perf_event(prog, pmu_fd); in test_perf_event_task()
|
D | task_fd_query_user.c | 156 link = bpf_program__attach_perf_event(progs[0], fd); in test_nondebug_fs_kuprobe_common() 271 link = bpf_program__attach_perf_event(progs[0], kfd); in test_debug_fs_uprobe()
|
D | sampleip_user.c | 56 links[i] = bpf_program__attach_perf_event(prog, pmu_fd); in sampling_start()
|
/linux-6.6.21/tools/perf/util/ |
D | bpf-filter.c | 146 link = bpf_program__attach_perf_event(prog, FD(evsel, x, y)); in perf_bpf_filter__prepare()
|
D | bpf_counter_cgroup.c | 97 link = bpf_program__attach_perf_event(skel->progs.on_cgrp_switch, in bperf_load_program()
|
/linux-6.6.21/tools/lib/bpf/ |
D | libbpf.map | 92 bpf_program__attach_perf_event;
|
D | libbpf.h | 464 bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd);
|
D | libbpf.c | 10181 struct bpf_link *bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd) in bpf_program__attach_perf_event() function
|