Home
last modified time | relevance | path

Searched refs:func_info_rec_size (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/tools/lib/bpf/
Dbpf.c247 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_load_program_xattr()
268 attr.func_info_rec_size < load_attr->func_info_rec_size) { in bpf_load_program_xattr()
272 load_attr->func_info_rec_size, in bpf_load_program_xattr()
273 attr.func_info_rec_size); in bpf_load_program_xattr()
278 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_load_program_xattr()
Dbpf.h83 __u32 func_info_rec_size; member
Dlibbpf.c191 __u32 func_info_rec_size; member
2280 prog->func_info_rec_size = btf_ext__func_info_rec_size(obj->btf_ext); in bpf_program_reloc_btf_ext()
3385 load_attr.func_info_rec_size = prog->func_info_rec_size; in load_program()
5691 offsetof(struct bpf_prog_info, func_info_rec_size),
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_btf.c4198 rec_size = info.func_info_rec_size; in do_test_file()
4214 info.func_info_rec_size = rec_size; in do_test_file()
4230 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file()
4232 info.func_info_rec_size)) { in do_test_file()
4993 __u32 func_info_rec_size; member
5030 .func_info_rec_size = 8,
5061 .func_info_rec_size = 4,
5093 .func_info_rec_size = 8,
5125 .func_info_rec_size = 8,
5320 .func_info_rec_size = 8,
[all …]
/Linux-v5.4/tools/perf/util/
Dbpf-event.c132 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name()
211 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) { in perf_event__synthesize_one_bpf_prog()
/Linux-v5.4/include/uapi/linux/
Dbpf.h417 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member
3242 __u32 func_info_rec_size; member
/Linux-v5.4/tools/include/uapi/linux/
Dbpf.h417 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member
3242 __u32 func_info_rec_size; member
/Linux-v5.4/Documentation/bpf/
Dbtf.rst543 __u32 func_info_rec_size; /* userspace bpf_func_info size */
563 func_info_rec_size is the size of each func_info record, and
660 func_info_rec_size
665 ``func_info_rec_size`` specifies the size of ``bpf_func_info`` structure when
/Linux-v5.4/tools/bpf/bpftool/
Dprog.c583 record = func_info + i * info->func_info_rec_size; in do_dump()
634 dd.finfo_rec_size = info->func_info_rec_size; in do_dump()
/Linux-v5.4/kernel/bpf/
Dsyscall.c2304 if ((info->nr_func_info || info->func_info_rec_size) && in set_info_rec_size()
2305 info->func_info_rec_size != sizeof(struct bpf_func_info)) in set_info_rec_size()
2316 info->func_info_rec_size = sizeof(struct bpf_func_info); in set_info_rec_size()
2530 info.func_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
Dverifier.c6425 urec_size = attr->func_info_rec_size; in check_btf_func()
6451 if (put_user(min_size, &uattr->func_info_rec_size)) in check_btf_func()