Home
last modified time | relevance | path

Searched refs:bpf_program__set_attach_target (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A 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()
374 err = bpf_program__set_attach_target(prog, pkt_fd, NULL); in test_obj_load_failure_common()
521 err = bpf_program__set_attach_target(skel->progs.xdp_cpumap_prog, in test_func_replace_progmap()
H A 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()
H A Dmodule_attach.c50 err = bpf_program__set_attach_target(skel->progs.handle_fentry_manual, in test_module_attach()
H A Ddummy_st_ops.c75 err = bpf_program__set_attach_target(trace_skel->progs.fentry_test_1, in test_dummy_init_ptr_arg()
H A Dxdp_metadata.c378 bpf_program__set_attach_target(new_prog, bpf_program__fd(prog), "rx"); in test_xdp_metadata()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.map158 bpf_program__set_attach_target;
H A Dlibbpf.h878 bpf_program__set_attach_target(struct bpf_program *prog, int attach_prog_fd,
H A Dlibbpf.c12807 int bpf_program__set_attach_target(struct bpf_program *prog, in bpf_program__set_attach_target() function
/openbmc/linux/tools/perf/util/
H A Dbpf_counter.c141 err = bpf_program__set_attach_target(prog, prog_fd, prog_name); in bpf_program_profiler_load_one()
520 bpf_program__set_attach_target(evsel->follower_skel->progs.fexit_XXX, in bperf__load()
/openbmc/linux/tools/bpf/bpftool/
H A Dprog.c2414 err = bpf_program__set_attach_target(prog, profile_tgt_fd, in do_profile()