Searched refs:tgt_fd (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | fexit_bpf2bpf.c | 66 int err, tgt_fd, i; in test_fexit_bpf2bpf_common() local 75 &tgt_obj, &tgt_fd); in test_fexit_bpf2bpf_common() 80 err = bpf_obj_get_info_by_fd(tgt_fd, &prog_info, &info_len); in test_fexit_bpf2bpf_common() 100 err = bpf_program__set_attach_target(p, tgt_fd, NULL); in test_fexit_bpf2bpf_common() 156 err = bpf_prog_test_run_opts(tgt_fd, &topts); in test_fexit_bpf2bpf_common() 234 int err = 0, tgt_fd; in test_second_attach() local 246 &tgt_obj, &tgt_fd); in test_second_attach() 250 link = bpf_program__attach_freplace(prog, tgt_fd, tgt_name); in test_second_attach() 254 err = bpf_prog_test_run_opts(tgt_fd, &topts); in test_second_attach()
|
/linux-6.1.9/tools/perf/util/ |
D | bpf_counter.c | 63 static char *bpf_target_prog_name(int tgt_fd) in bpf_target_prog_name() argument 71 info_linear = get_bpf_prog_info_linear(tgt_fd, 1UL << PERF_BPIL_FUNC_INFO); in bpf_target_prog_name() 73 pr_debug("failed to get info_linear for prog FD %d\n", tgt_fd); in bpf_target_prog_name() 78 pr_debug("prog FD %d doesn't have valid btf\n", tgt_fd); in bpf_target_prog_name() 84 pr_debug("failed to load btf for prog FD %d\n", tgt_fd); in bpf_target_prog_name()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | prog.c | 2095 static char *profile_target_name(int tgt_fd) in profile_target_name() argument 2106 err = bpf_obj_get_info_by_fd(tgt_fd, &info, &info_len); in profile_target_name() 2108 p_err("failed to bpf_obj_get_info_by_fd for prog FD %d", tgt_fd); in profile_target_name() 2113 p_err("prog FD %d doesn't have valid btf", tgt_fd); in profile_target_name() 2119 p_err("bpf_obj_get_info_by_fd for prog FD %d found 0 func_info", tgt_fd); in profile_target_name() 2128 err = bpf_obj_get_info_by_fd(tgt_fd, &info, &info_len); in profile_target_name() 2130 p_err("failed to get func_info for prog FD %d", tgt_fd); in profile_target_name() 2136 p_err("failed to load btf for prog FD %d", tgt_fd); in profile_target_name()
|