Searched refs:nr_func_info (Results 1 – 9 of 9) sorted by relevance
4833 if (CHECK(info.nr_func_info != 3, in do_test_file()4835 info.nr_func_info)) { in do_test_file()4846 func_info = malloc(info.nr_func_info * rec_size); in do_test_file()4854 info.nr_func_info = 3; in do_test_file()4865 if (CHECK(info.nr_func_info != 3, in do_test_file()4867 info.nr_func_info)) { in do_test_file()6471 __u32 nr_func_info; in test_get_finfo() local6481 nr_func_info = test->func_info_cnt - test->dead_func_cnt; in test_get_finfo()6482 if (CHECK(info.nr_func_info != nr_func_info, in test_get_finfo()6484 info.nr_func_info)) { in test_get_finfo()[all …]
224 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) { in perf_event__synthesize_one_bpf_prog()226 if (sub_prog_cnt != info->nr_func_info) { in perf_event__synthesize_one_bpf_prog()
51 offsetof(struct bpf_prog_info, nr_func_info),
110 holder.nr_func_info = info->nr_func_info; in prep_prog_info()112 needed += info->nr_func_info * info->func_info_rec_size; in prep_prog_info()147 ptr += holder.nr_func_info * holder.func_info_rec_size; in prep_prog_info()2212 if (info.nr_func_info == 0) { in profile_target_name()2218 info.nr_func_info = 1; in profile_target_name()
64 if (!info.btf_id || !info.nr_func_info) in dump_prog_id_as_func_ptr()69 info.nr_func_info = 1; in dump_prog_id_as_func_ptr()
350 if (!prog_info->btf_id || prog_info->nr_func_info == 0) in get_prog_full_name()353 info.nr_func_info = 1; in get_prog_full_name()
4249 if ((info->nr_func_info || info->func_info_rec_size) && in set_info_rec_size()4334 info.nr_func_info = 0; in bpf_prog_get_info_by_fd()4480 ulen = info.nr_func_info; in bpf_prog_get_info_by_fd()4481 info.nr_func_info = prog->aux->func_info_cnt; in bpf_prog_get_info_by_fd()4482 if (info.nr_func_info && ulen) { in bpf_prog_get_info_by_fd()4486 ulen = min_t(u32, info.nr_func_info, ulen); in bpf_prog_get_info_by_fd()
6421 __u32 nr_func_info; member