Home
last modified time | relevance | path

Searched refs:bpf_program__attach (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dcore_autosize.c147 skel->links.handle_samesize = bpf_program__attach(prog); in test_core_autosize()
154 skel->links.handle_downsize = bpf_program__attach(prog); in test_core_autosize()
161 skel->links.handle_probed = bpf_program__attach(prog); in test_core_autosize()
Dprobe_user.c35 kprobe_link = bpf_program__attach(kprobe_prog); in test_probe_user()
Dlink_pinning.c19 link = bpf_program__attach(prog); in test_link_pinning_subtest()
Dbpf_obj_id.c72 links[i] = bpf_program__attach(prog); in test_bpf_obj_id()
/Linux-v5.10/samples/bpf/
Dtracex1_user.c34 link = bpf_program__attach(prog); in main()
Dtracex7_user.c36 link = bpf_program__attach(prog); in main()
Dtracex5_user.c67 link = bpf_program__attach(prog); in main()
Dtracex4_user.c83 links[j] = bpf_program__attach(prog); in main()
Dtest_current_task_under_cgroup_user.c50 link = bpf_program__attach(prog); in main()
Dtrace_output_user.c80 link = bpf_program__attach(prog); in main()
Dspintest_user.c60 links[j] = bpf_program__attach(prog); in main()
Dlathist_user.c109 links[i] = bpf_program__attach(prog); in main()
Dsyscall_tp_user.c77 links[j] = bpf_program__attach(prog); in test()
Dtest_probe_write_user_user.c52 link = bpf_program__attach(prog); in main()
Dtracex3_user.c155 links[j] = bpf_program__attach(prog); in main()
Doffwaketime_user.c140 links[i] = bpf_program__attach(prog); in main()
Dcpustat_user.c224 link = bpf_program__attach(prog); in main()
Dtest_map_in_map_user.c160 link = bpf_program__attach(prog); in main()
Dtracex2_user.c165 links[j] = bpf_program__attach(prog); in main()
Dtracex6_user.c209 links[i] = bpf_program__attach(prog); in main()
Dmap_perf_test_user.c488 links[i] = bpf_program__attach(prog); in main()
/Linux-v5.10/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c183 link = bpf_program__attach(ctx->skel->progs.bench_ringbuf); in ringbuf_libbpf_setup()
273 link = bpf_program__attach(ctx->skel->progs.bench_ringbuf); in ringbuf_custom_setup()
432 link = bpf_program__attach(ctx->skel->progs.bench_perfbuf); in perfbuf_libbpf_setup()
Dbench_rename.c67 link = bpf_program__attach(prog); in attach_bpf()
Dbench_trigger.c62 link = bpf_program__attach(prog); in attach_bpf()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.map229 bpf_program__attach;

12