Home
last modified time | relevance | path

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

123

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbpf_loop.c12 link = bpf_program__attach(skel->progs.test_prog); in check_nr_loops()
47 link = bpf_program__attach(skel->progs.test_prog); in check_callback_fn_stop()
70 link = bpf_program__attach(skel->progs.prog_null_ctx); in check_null_callback_ctx()
89 link = bpf_program__attach(skel->progs.prog_invalid_flags); in check_invalid_flags()
106 link = bpf_program__attach(skel->progs.prog_nested_calls); in check_nested_calls()
126 bpf_program__attach(skel->progs.prog_non_constant_callback); in check_non_constant_callback()
144 struct bpf_link *link = bpf_program__attach(skel->progs.stack_check); in check_stack()
Dattach_probe.c130 skel->links.handle_kprobe_auto = bpf_program__attach(skel->progs.handle_kprobe_auto); in test_attach_probe_auto()
133 skel->links.handle_kretprobe_auto = bpf_program__attach(skel->progs.handle_kretprobe_auto); in test_attach_probe_auto()
137 uprobe_err_link = bpf_program__attach(skel->progs.handle_uprobe_byname); in test_attach_probe_auto()
144 bpf_program__attach(skel->progs.handle_uretprobe_byname); in test_attach_probe_auto()
254 skel->links.handle_kprobe_sleepable = bpf_program__attach(skel->progs.handle_kprobe_sleepable); in test_kprobe_sleepable()
264 …skel->links.handle_uprobe_byname3_sleepable = bpf_program__attach(skel->progs.handle_uprobe_byname… in test_uprobe_sleepable()
268 skel->links.handle_uprobe_byname3 = bpf_program__attach(skel->progs.handle_uprobe_byname3); in test_uprobe_sleepable()
272 …skel->links.handle_uretprobe_byname3_sleepable = bpf_program__attach(skel->progs.handle_uretprobe_… in test_uprobe_sleepable()
276 skel->links.handle_uretprobe_byname3 = bpf_program__attach(skel->progs.handle_uretprobe_byname3); in test_uprobe_sleepable()
Dmodule_attach.c94 link = bpf_program__attach(skel->progs.handle_fentry); in test_module_attach()
101 link = bpf_program__attach(skel->progs.handle_fexit); in test_module_attach()
108 link = bpf_program__attach(skel->progs.kprobe_multi); in test_module_attach()
Dtrampoline_count.c57 link = bpf_program__attach(prog); in serial_test_trampoline_count()
70 link = bpf_program__attach(prog); in serial_test_trampoline_count()
Ddynptr.c60 link = bpf_program__attach(prog); in verify_success()
111 link = bpf_program__attach(prog); in verify_success()
Dbuild_id.c47 skel->links.uprobe_nofault = bpf_program__attach(skel->progs.uprobe_nofault); in subtest_nofault()
85 skel->links.uprobe_sleepable = bpf_program__attach(skel->progs.uprobe_sleepable); in subtest_sleepable()
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()
Dbloom_filter_map.c93 link = bpf_program__attach(skel->progs.check_bloom); in check_bloom()
129 link = bpf_program__attach(skel->progs.inner_map); in test_inner_map()
Dcpumask.c53 link = bpf_program__attach(prog); in verify_success()
Dtask_kfunc.c53 link = bpf_program__attach(prog); in run_success_test()
Dcgrp_kfunc.c65 link = bpf_program__attach(prog); in run_success_test()
Dkfunc_dynptr_param.c87 link = bpf_program__attach(prog); in verify_success()
Dsocket_cookie.c43 skel->links.update_cookie_tracing = bpf_program__attach( in test_socket_cookie()
/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_bloom_filter_map.c311 link = bpf_program__attach(ctx.skel->progs.bloom_lookup); in bloom_lookup_setup()
328 link = bpf_program__attach(ctx.skel->progs.bloom_update); in bloom_update_setup()
347 link = bpf_program__attach(ctx.skel->progs.bloom_hashmap_lookup); in false_positive_setup()
365 link = bpf_program__attach(ctx.skel->progs.bloom_hashmap_lookup); in hashmap_with_bloom_setup()
382 link = bpf_program__attach(ctx.skel->progs.bloom_hashmap_lookup); in hashmap_no_bloom_setup()
Dbench_local_storage_rcu_tasks_trace.c169 if (!bpf_program__attach(ctx.skel->progs.get_local)) { in local_storage_tasks_trace_setup()
174 if (!bpf_program__attach(ctx.skel->progs.pregp_step)) { in local_storage_tasks_trace_setup()
179 if (!bpf_program__attach(ctx.skel->progs.postgp)) { in local_storage_tasks_trace_setup()
Dbench_local_storage_create.c93 if (!bpf_program__attach(skel->progs.socket_post_create)) { in setup()
98 if (!bpf_program__attach(skel->progs.sched_process_fork)) { in setup()
104 if (!bpf_program__attach(skel->progs.kmalloc)) { in setup()
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()
428 link = bpf_program__attach(ctx->skel->progs.bench_perfbuf); in perfbuf_libbpf_setup()
Dbench_bpf_loop.c82 link = bpf_program__attach(ctx.skel->progs.benchmark); in setup()
Dbench_bpf_hashmap_full_update.c52 link = bpf_program__attach(ctx.skel->progs.benchmark); in setup()
/linux-6.12.1/samples/bpf/
Dtracex1_user.c34 link = bpf_program__attach(prog); in main()
Dtracex7_user.c41 link = bpf_program__attach(prog); in main()
Dspintest_user.c46 links[j] = bpf_program__attach(prog); in main()
Dtracex5_user.c64 link = bpf_program__attach(prog); in main()
Dtracex4_user.c76 links[j] = bpf_program__attach(prog); in main()
Dtest_current_task_under_cgroup_user.c50 link = bpf_program__attach(prog); in main()

123