Home
last modified time | relevance | path

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

12

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dmodule_attach.c96 link = bpf_program__attach(skel->progs.handle_fentry); in test_module_attach()
103 link = bpf_program__attach(skel->progs.handle_fexit); in test_module_attach()
Dcore_autosize.c146 skel->links.handle_samesize = bpf_program__attach(prog); in test_core_autosize()
153 skel->links.handle_downsize = bpf_program__attach(prog); in test_core_autosize()
160 skel->links.handle_probed = bpf_program__attach(prog); in test_core_autosize()
Dsocket_cookie.c43 skel->links.update_cookie_tracing = bpf_program__attach( in test_socket_cookie()
Dtest_lsm.c65 link = bpf_program__attach(skel->progs.test_int_hook); in test_lsm()
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()
/Linux-v5.15/samples/bpf/
Dtracex1_user.c34 link = bpf_program__attach(prog); in main()
Dtracex7_user.c41 link = bpf_program__attach(prog); in main()
Dtracex5_user.c64 link = bpf_program__attach(prog); in main()
Dtracex4_user.c77 links[j] = bpf_program__attach(prog); in main()
Dspintest_user.c54 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()
Dibumad_user.c137 tp_links[tp_cnt] = bpf_program__attach(prog); in main()
Dxdp_sample_user.h64 skel->links.name = bpf_program__attach(skel->progs.name); \
Dlathist_user.c109 links[i] = bpf_program__attach(prog); in main()
Dsyscall_tp_user.c77 links[j] = bpf_program__attach(prog); in test()
Dtracex3_user.c149 links[j] = bpf_program__attach(prog); in main()
Doffwaketime_user.c134 links[i] = bpf_program__attach(prog); in main()
Dtest_probe_write_user_user.c52 link = bpf_program__attach(prog); in main()
Dtest_map_in_map_user.c154 link = bpf_program__attach(prog); in main()
Dcpustat_user.c224 link = bpf_program__attach(prog); in main()
/Linux-v5.15/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()

12