Home
last modified time | relevance | path

Searched refs:finfo (Results 1 – 3 of 3) sorted by relevance

/tools/lib/bpf/
Dbpf.c216 void *finfo = NULL, *linfo = NULL; in bpf_load_program_xattr() local
266 while (errno == E2BIG && (!finfo || !linfo)) { in bpf_load_program_xattr()
267 if (!finfo && attr.func_info_cnt && in bpf_load_program_xattr()
270 finfo = alloc_zero_tailing_info(load_attr->func_info, in bpf_load_program_xattr()
274 if (!finfo) in bpf_load_program_xattr()
277 attr.func_info = ptr_to_u64(finfo); in bpf_load_program_xattr()
311 free(finfo); in bpf_load_program_xattr()
/tools/perf/util/
Dbpf-event.c127 const struct bpf_func_info *finfo; in synthesize_bpf_prog_name() local
136 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name()
137 t = btf__type_by_id(btf, finfo->type_id); in synthesize_bpf_prog_name()
/tools/testing/selftests/bpf/
Dtest_btf.c4149 struct bpf_func_info *finfo; in do_test_file() local
4270 finfo = func_info; in do_test_file()
4275 t = btf__type_by_id(btf, finfo->type_id); in do_test_file()
4277 finfo->type_id)) { in do_test_file()
4294 finfo = (void *)finfo + rec_size; in do_test_file()
5877 struct bpf_func_info *finfo; in test_get_finfo() local
5934 finfo = func_info; in test_get_finfo()
5938 if (CHECK(finfo->type_id != test->func_info[i][1], in test_get_finfo()
5940 finfo->type_id, test->func_info[i][1])) { in test_get_finfo()
5944 finfo = (void *)finfo + rec_size; in test_get_finfo()