Home
last modified time | relevance | path

Searched refs:nr_func_info (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dbtf.c4828 if (CHECK(info.nr_func_info != 3, in do_test_file()
4830 info.nr_func_info)) { in do_test_file()
4841 func_info = malloc(info.nr_func_info * rec_size); in do_test_file()
4849 info.nr_func_info = 3; in do_test_file()
4860 if (CHECK(info.nr_func_info != 3, in do_test_file()
4862 info.nr_func_info)) { in do_test_file()
6467 __u32 nr_func_info; in test_get_finfo() local
6477 nr_func_info = test->func_info_cnt - test->dead_func_cnt; in test_get_finfo()
6478 if (CHECK(info.nr_func_info != nr_func_info, in test_get_finfo()
6480 info.nr_func_info)) { in test_get_finfo()
[all …]
/tools/perf/util/
Dbpf-event.c224 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()
Dbpf-utils.c51 offsetof(struct bpf_prog_info, nr_func_info),
/tools/bpf/bpftool/
Dprog.c110 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()
2219 if (info.nr_func_info == 0) { in profile_target_name()
2225 info.nr_func_info = 1; in profile_target_name()
Dcommon.c422 if (!prog_info->btf_id || prog_info->nr_func_info == 0) in get_prog_full_name()
425 info.nr_func_info = 1; in get_prog_full_name()
Dbtf_dumper.c64 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()
/tools/include/uapi/linux/
Dbpf.h6446 __u32 nr_func_info; member