Searched refs:bpf_program__set_attach_target (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | exceptions.c | 126 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() 136 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() 146 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() 156 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() 166 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() 176 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() 186 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() 197 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() 208 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() 219 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success() [all …]
|
D | trace_ext.c | 52 bpf_program__set_attach_target(prog, pkt_fd, "test_pkt_md_access"); in test_trace_ext() 76 bpf_program__set_attach_target(prog, ext_fd, "test_pkt_md_access_new"); in test_trace_ext() 80 bpf_program__set_attach_target(prog, ext_fd, "test_pkt_md_access_new"); in test_trace_ext()
|
D | recursive_attach.c | 59 err = bpf_program__set_attach_target(prog, prev_fd, "test1"); in test_recursive_fentry_chain() 62 err = bpf_program__set_attach_target(prog, prev_fd, "recursive_attach"); in test_recursive_fentry_chain() 130 err = bpf_program__set_attach_target(prog, tgt_prog_fd, "fentry_target"); in test_fentry_attach_btf_presence()
|
D | global_func_dead_code.c | 33 err = bpf_program__set_attach_target(skel->progs.freplace_prog, tgt_fd, "global_good"); in test_global_func_dead_code() 48 err = bpf_program__set_attach_target(skel->progs.freplace_prog, tgt_fd, "global_dead"); in test_global_func_dead_code()
|
D | module_attach.c | 50 err = bpf_program__set_attach_target(skel->progs.handle_fentry_manual, in test_module_attach() 54 err = bpf_program__set_attach_target(skel->progs.handle_fentry_explicit_manual, in test_module_attach()
|
D | fexit_bpf2bpf.c | 102 err = bpf_program__set_attach_target(p, tgt_fd, NULL); in test_fexit_bpf2bpf_common() 307 err = bpf_program__set_attach_target(prog, pkt_fd, NULL); in test_fmod_ret_freplace() 324 err = bpf_program__set_attach_target(prog, attach_prog_fd, NULL); in test_fmod_ret_freplace() 376 err = bpf_program__set_attach_target(prog, pkt_fd, NULL); in test_obj_load_failure_common() 543 err = bpf_program__set_attach_target(skel->progs.xdp_cpumap_prog, in test_func_replace_progmap()
|
D | xdp_bpf2bpf.c | 134 bpf_program__set_attach_target(prog, pkt_fd, "_xdp_tx_iptunnel"); in test_xdp_bpf2bpf() 138 bpf_program__set_attach_target(prog, pkt_fd, "_xdp_tx_iptunnel"); in test_xdp_bpf2bpf()
|
D | tailcalls.c | 286 err = bpf_program__set_attach_target(prog, prog_fd, in test_tailcall_count() 310 err = bpf_program__set_attach_target(prog, prog_fd, in test_tailcall_count() 1063 err = bpf_program__set_attach_target(prog, prog_fd, "classifier_0"); in test_tailcall_bpf2bpf_fentry_entry() 1235 err = bpf_program__set_attach_target(fentry_prog, prog_fd, in test_tailcall_hierarchy_count() 1300 err = bpf_program__set_attach_target(prog, prog_fd, in test_tailcall_hierarchy_count() 1324 err = bpf_program__set_attach_target(prog, prog_fd, in test_tailcall_hierarchy_count() 1528 err = bpf_program__set_attach_target(freplace_prog, prog_fd, "subprog"); in test_tailcall_freplace()
|
D | cgroup1_hierarchy.c | 81 err = bpf_program__set_attach_target(skel->progs.fentry_run, 0, "bpf_fentry_test1"); in test_cgroup1_hierarchy()
|
D | dummy_st_ops.c | 75 err = bpf_program__set_attach_target(trace_skel->progs.fentry_test_1, in test_dummy_init_ptr_arg()
|
D | xdp_metadata.c | 505 bpf_program__set_attach_target(new_prog, bpf_program__fd(prog), "rx"); in test_xdp_metadata()
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.map | 158 bpf_program__set_attach_target;
|
D | libbpf.h | 938 bpf_program__set_attach_target(struct bpf_program *prog, int attach_prog_fd,
|
D | libbpf.c | 13574 int bpf_program__set_attach_target(struct bpf_program *prog, in bpf_program__set_attach_target() function
|
/linux-6.12.1/tools/perf/util/ |
D | bpf_counter.c | 141 err = bpf_program__set_attach_target(prog, prog_fd, prog_name); in bpf_program_profiler_load_one() 523 bpf_program__set_attach_target(evsel->follower_skel->progs.fexit_XXX, in bperf__load()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | prog.c | 2411 err = bpf_program__set_attach_target(prog, profile_tgt_fd, in do_profile()
|