Home
last modified time | relevance | path

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/
Dexceptions.c126 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 …]
Dtrace_ext.c52 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()
Drecursive_attach.c59 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()
Dglobal_func_dead_code.c33 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()
Dmodule_attach.c50 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()
Dfexit_bpf2bpf.c102 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()
Dxdp_bpf2bpf.c134 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()
Dtailcalls.c286 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()
Dcgroup1_hierarchy.c81 err = bpf_program__set_attach_target(skel->progs.fentry_run, 0, "bpf_fentry_test1"); in test_cgroup1_hierarchy()
Ddummy_st_ops.c75 err = bpf_program__set_attach_target(trace_skel->progs.fentry_test_1, in test_dummy_init_ptr_arg()
Dxdp_metadata.c505 bpf_program__set_attach_target(new_prog, bpf_program__fd(prog), "rx"); in test_xdp_metadata()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map158 bpf_program__set_attach_target;
Dlibbpf.h938 bpf_program__set_attach_target(struct bpf_program *prog, int attach_prog_fd,
Dlibbpf.c13574 int bpf_program__set_attach_target(struct bpf_program *prog, in bpf_program__set_attach_target() function
/linux-6.12.1/tools/perf/util/
Dbpf_counter.c141 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/
Dprog.c2411 err = bpf_program__set_attach_target(prog, profile_tgt_fd, in do_profile()