Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
H A Dattach_probe.c90 skel->links.handle_kprobe_auto = bpf_program__attach(skel->progs.handle_kprobe_auto); in test_attach_probe()
93 skel->links.handle_kretprobe_auto = bpf_program__attach(skel->progs.handle_kretprobe_auto); in test_attach_probe()
125 uprobe_err_link = bpf_program__attach(skel->progs.handle_uprobe_byname); in test_attach_probe()
143 bpf_program__attach(skel->progs.handle_uretprobe_byname); in test_attach_probe()
171 skel->links.handle_kprobe_sleepable = bpf_program__attach(skel->progs.handle_kprobe_sleepable); in test_attach_probe()
176 …skel->links.handle_uprobe_byname3_sleepable = bpf_program__attach(skel->progs.handle_uprobe_byname… in test_attach_probe()
180 skel->links.handle_uprobe_byname3 = bpf_program__attach(skel->progs.handle_uprobe_byname3); in test_attach_probe()
184 …skel->links.handle_uretprobe_byname3_sleepable = bpf_program__attach(skel->progs.handle_uretprobe_… in test_attach_probe()
188 skel->links.handle_uretprobe_byname3 = bpf_program__attach(skel->progs.handle_uretprobe_byname3); in test_attach_probe()
H A 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()
H A 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()
H A Dtrampoline_count.c52 link = bpf_program__attach(prog); in serial_test_trampoline_count()
65 link = bpf_program__attach(prog); in serial_test_trampoline_count()
H A Dmodule_attach.c92 link = bpf_program__attach(skel->progs.handle_fentry); in test_module_attach()
99 link = bpf_program__attach(skel->progs.handle_fexit); in test_module_attach()
H A Dbloom_filter_map.c87 link = bpf_program__attach(skel->progs.check_bloom); in check_bloom()
123 link = bpf_program__attach(skel->progs.inner_map); in test_inner_map()
H A Dsocket_cookie.c43 skel->links.update_cookie_tracing = bpf_program__attach( in test_socket_cookie()
H A Ddynptr.c110 link = bpf_program__attach(prog); in verify_success()
H A Dtest_lsm.c65 link = bpf_program__attach(skel->progs.test_int_hook); in test_lsm()
H A Dlink_pinning.c19 link = bpf_program__attach(prog); in test_link_pinning_subtest()
H A Dprobe_user.c47 kprobe_links[i] = bpf_program__attach(kprobe_progs[i]); in serial_test_probe_user()
H A Dkfunc_dynptr_param.c132 link = bpf_program__attach(prog); in verify_success()
H A Dcustom_sec_handlers.c154 skel->links.xyz = bpf_program__attach(skel->progs.kprobe1); in test_custom_sec_handlers()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/benchs/
H A 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()
H A Dbench_local_storage_rcu_tasks_trace.c182 if (!bpf_program__attach(ctx.skel->progs.get_local)) { in local_storage_tasks_trace_setup()
187 if (!bpf_program__attach(ctx.skel->progs.pregp_step)) { in local_storage_tasks_trace_setup()
192 if (!bpf_program__attach(ctx.skel->progs.postgp)) { in local_storage_tasks_trace_setup()
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()
428 link = bpf_program__attach(ctx->skel->progs.bench_perfbuf); in perfbuf_libbpf_setup()
H A Dbench_bpf_loop.c87 link = bpf_program__attach(ctx.skel->progs.benchmark); in setup()
H A Dbench_bpf_hashmap_full_update.c58 link = bpf_program__attach(ctx.skel->progs.benchmark); in setup()
H A Dbench_rename.c67 link = bpf_program__attach(prog); in attach_bpf()
H A Dbench_strncmp.c105 link = bpf_program__attach(prog); in strncmp_attach_prog()
H A Dbench_trigger.c63 link = bpf_program__attach(prog); in attach_bpf()
H A Dbench_local_storage.c167 if (!bpf_program__attach(prog)) { in __setup()
/aosp_15_r20/external/bcc/libbpf-tools/
H A Dsyscount.c455 obj->links.sys_exit = bpf_program__attach(obj->progs.sys_exit); in main()
462 obj->links.sys_enter = bpf_program__attach(obj->progs.sys_enter); in main()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp90 skel->links.handle_sys_enter = bpf_program__attach(skel->progs.handle_sys_enter); in try_skeleton_template()
/aosp_15_r20/external/libbpf/src/
H A Dlibbpf.map138 bpf_program__attach;

12