Home
last modified time | relevance | path

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/
Dget_stackid_cannot_attach.c49 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()
Dperf_event_stackmap.c99 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_perf_event_stackmap()
Dfind_vma.c67 link = bpf_program__attach_perf_event(skel->progs.handle_pe, pfd); in test_find_vma_pe()
Dstacktrace_build_id_nmi.c47 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_stacktrace_build_id_nmi()
Dperf_branches.c76 link = bpf_program__attach_perf_event(skel->progs.perf_branches, perf_fd); in test_perf_branches_common()
Dsend_signal.c111 bpf_program__attach_perf_event(skel->progs.send_signal_perf, pmu_fd); in test_send_signal_common()
/linux-6.6.21/samples/bpf/
Dtrace_event_user.c158 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()
Dtask_fd_query_user.c156 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()
Dsampleip_user.c56 links[i] = bpf_program__attach_perf_event(prog, pmu_fd); in sampling_start()
/linux-6.6.21/tools/perf/util/
Dbpf-filter.c146 link = bpf_program__attach_perf_event(prog, FD(evsel, x, y)); in perf_bpf_filter__prepare()
Dbpf_counter_cgroup.c97 link = bpf_program__attach_perf_event(skel->progs.on_cgrp_switch, in bperf_load_program()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.map92 bpf_program__attach_perf_event;
Dlibbpf.h464 bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd);
Dlibbpf.c10181 struct bpf_link *bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd) in bpf_program__attach_perf_event() function