Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dbpf.c224 void *finfo = NULL, *linfo = NULL; in libbpf__bpf_prog_load() local
280 while (errno == E2BIG && (!finfo || !linfo)) { in libbpf__bpf_prog_load()
281 if (!finfo && attr.func_info_cnt && in libbpf__bpf_prog_load()
284 finfo = alloc_zero_tailing_info(load_attr->func_info, in libbpf__bpf_prog_load()
288 if (!finfo) { in libbpf__bpf_prog_load()
293 attr.func_info = ptr_to_u64(finfo); in libbpf__bpf_prog_load()
330 free(finfo); in libbpf__bpf_prog_load()
/tools/perf/util/
Dbpf-event.c141 const struct bpf_func_info *finfo; in synthesize_bpf_prog_name() local
150 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name()
151 t = btf__type_by_id(btf, finfo->type_id); in synthesize_bpf_prog_name()
/tools/bpf/bpftool/
Dbtf_dumper.c38 struct bpf_func_info *finfo; in dump_prog_id_as_func_ptr() local
72 finfo = u64_to_ptr(info->func_info); in dump_prog_id_as_func_ptr()
73 func_type = btf__type_by_id(prog_btf, finfo->type_id); in dump_prog_id_as_func_ptr()
/tools/testing/selftests/bpf/prog_tests/
Dbtf.c4267 struct bpf_func_info *finfo; in do_test_file() local
4387 finfo = func_info; in do_test_file()
4392 t = btf__type_by_id(btf, finfo->type_id); in do_test_file()
4394 finfo->type_id)) { in do_test_file()
4411 finfo = (void *)finfo + rec_size; in do_test_file()
5977 struct bpf_func_info *finfo; in test_get_finfo() local
6034 finfo = func_info; in test_get_finfo()
6038 if (CHECK(finfo->type_id != test->func_info[i][1], in test_get_finfo()
6040 finfo->type_id, test->func_info[i][1])) { in test_get_finfo()
6044 finfo = (void *)finfo + rec_size; in test_get_finfo()