Searched refs:bpf_program__attach (Results 1 – 25 of 59) sorted by relevance
123
12 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()
130 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()
94 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()
57 link = bpf_program__attach(prog); in serial_test_trampoline_count()70 link = bpf_program__attach(prog); in serial_test_trampoline_count()
60 link = bpf_program__attach(prog); in verify_success()111 link = bpf_program__attach(prog); in verify_success()
47 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()
146 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()
93 link = bpf_program__attach(skel->progs.check_bloom); in check_bloom()129 link = bpf_program__attach(skel->progs.inner_map); in test_inner_map()
53 link = bpf_program__attach(prog); in verify_success()
53 link = bpf_program__attach(prog); in run_success_test()
65 link = bpf_program__attach(prog); in run_success_test()
87 link = bpf_program__attach(prog); in verify_success()
43 skel->links.update_cookie_tracing = bpf_program__attach( in test_socket_cookie()
311 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()
169 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()
93 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()
183 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()
82 link = bpf_program__attach(ctx.skel->progs.benchmark); in setup()
52 link = bpf_program__attach(ctx.skel->progs.benchmark); in setup()
34 link = bpf_program__attach(prog); in main()
41 link = bpf_program__attach(prog); in main()
46 links[j] = bpf_program__attach(prog); in main()
64 link = bpf_program__attach(prog); in main()
76 links[j] = bpf_program__attach(prog); in main()
50 link = bpf_program__attach(prog); in main()