Searched refs:bpf_program__attach_perf_event (Results 1 – 13 of 13) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
H A D | perf_event_stackmap.c | 99 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_perf_event_stackmap()
|
H A D | perf_skip.c | 102 prog_link = bpf_program__attach_perf_event(skel->progs.handler, perf_fd); in serial_test_perf_skip()
|
H A D | find_vma.c | 67 link = bpf_program__attach_perf_event(skel->progs.handle_pe, pfd); in test_find_vma_pe()
|
H A D | stacktrace_build_id_nmi.c | 47 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_stacktrace_build_id_nmi()
|
H A D | perf_branches.c | 76 link = bpf_program__attach_perf_event(skel->progs.perf_branches, perf_fd); in test_perf_branches_common()
|
/linux/samples/bpf/ |
H A 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()
|
H A 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()
|
H A D | sampleip_user.c | 56 links[i] = bpf_program__attach_perf_event(prog, pmu_fd); in sampling_start()
|
/linux/tools/perf/util/ |
H A D | bpf_counter_cgroup.c | 97 link = bpf_program__attach_perf_event(skel->progs.on_cgrp_switch, in bperf_load_program()
|
/linux/tools/lib/bpf/ |
H A D | libbpf.map | 92 bpf_program__attach_perf_event;
|
H A D | libbpf.h | 507 bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd);
|
H A D | libbpf.c | 10972 struct bpf_link *bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd) in bpf_program__attach_perf_event() function
|