Home
last modified time | relevance | path

Searched refs:bpf_program__attach_perf_event (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/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()
81 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach()
Dperf_event_stackmap.c98 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()
Dperf_branches.c76 link = bpf_program__attach_perf_event(skel->progs.perf_branches, perf_fd); in test_perf_branches_common()
Dstacktrace_build_id_nmi.c63 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_stacktrace_build_id_nmi()
Dsend_signal.c107 bpf_program__attach_perf_event(skel->progs.send_signal_perf, pmu_fd); in test_send_signal_common()
/linux-6.1.9/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.1.9/tools/lib/bpf/
Dlibbpf.map92 bpf_program__attach_perf_event;
Dlibbpf.h414 bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd);
Dlibbpf.c9778 struct bpf_link *bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd) in bpf_program__attach_perf_event() function
/linux-6.1.9/tools/perf/util/
Dbpf_counter_cgroup.c97 link = bpf_program__attach_perf_event(skel->progs.on_cgrp_switch, in bperf_load_program()