Home
last modified time | relevance | path

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

/Linux-v5.15/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()
Dstacktrace_build_id_nmi.c63 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_stacktrace_build_id_nmi()
Dsend_signal.c104 bpf_program__attach_perf_event(skel->progs.send_signal_perf, pmu_fd); in test_send_signal_common()
Dperf_branches.c76 link = bpf_program__attach_perf_event(skel->progs.perf_branches, perf_fd); in test_perf_branches_common()
/Linux-v5.15/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.c157 link = bpf_program__attach_perf_event(progs[0], fd); in test_nondebug_fs_kuprobe_common()
272 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-v5.15/tools/lib/bpf/
Dlibbpf.map173 bpf_program__attach_perf_event;
Dlibbpf.h257 bpf_program__attach_perf_event(struct bpf_program *prog, int pfd);
Dlibbpf.c9093 struct bpf_link *bpf_program__attach_perf_event(struct bpf_program *prog, int pfd) in bpf_program__attach_perf_event() function
/Linux-v5.15/tools/perf/util/
Dbpf_counter_cgroup.c97 link = bpf_program__attach_perf_event(skel->progs.on_cgrp_switch, in bperf_load_program()