Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A Dprobe_user.c35 kprobe_link = bpf_program__attach(kprobe_prog); in test_probe_user()
H A Dlink_pinning.c19 link = bpf_program__attach(prog); in test_link_pinning_subtest()
H A Dbpf_obj_id.c72 links[i] = bpf_program__attach(prog); in test_bpf_obj_id()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/benchs/
H A 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()
H A Dbench_rename.c67 link = bpf_program__attach(prog); in attach_bpf()
H A Dbench_trigger.c62 link = bpf_program__attach(prog); in attach_bpf()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtracex1_user.c34 link = bpf_program__attach(prog); in main()
H A Dtracex7_user.c41 link = bpf_program__attach(prog); in main()
H A Dtracex5_user.c67 link = bpf_program__attach(prog); in main()
H A Dtest_current_task_under_cgroup_user.c50 link = bpf_program__attach(prog); in main()
H A Dtracex4_user.c83 links[j] = bpf_program__attach(prog); in main()
H A Dspintest_user.c60 links[j] = bpf_program__attach(prog); in main()
H A Dtrace_output_user.c80 link = bpf_program__attach(prog); in main()
H A Dlathist_user.c109 links[i] = bpf_program__attach(prog); in main()
H A Dsyscall_tp_user.c77 links[j] = bpf_program__attach(prog); in test()
H A Doffwaketime_user.c140 links[i] = bpf_program__attach(prog); in main()
H A Dtracex3_user.c155 links[j] = bpf_program__attach(prog); in main()
H A Dtest_probe_write_user_user.c52 link = bpf_program__attach(prog); in main()
H A Dtest_map_in_map_user.c160 link = bpf_program__attach(prog); in main()
H A Dcpustat_user.c224 link = bpf_program__attach(prog); in main()
H A Dtracex6_user.c209 links[i] = bpf_program__attach(prog); in main()
H A Dtracex2_user.c165 links[j] = bpf_program__attach(prog); in main()
H A Dmap_perf_test_user.c488 links[i] = bpf_program__attach(prog); in main()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.map229 bpf_program__attach;

12