Home
last modified time | relevance | path

Searched refs:line_info_rec_size (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/tools/lib/bpf/
Dbpf.c245 __u32 func_info_rec_size, line_info_rec_size; in bpf_prog_load() local
307 line_info_rec_size = OPTS_GET(opts, line_info_rec_size, 0); in bpf_prog_load()
309 attr.line_info_rec_size = line_info_rec_size; in bpf_prog_load()
346 attr.line_info_rec_size < line_info_rec_size) { in bpf_prog_load()
349 line_info_rec_size, in bpf_prog_load()
350 attr.line_info_rec_size); in bpf_prog_load()
357 attr.line_info_rec_size = line_info_rec_size; in bpf_prog_load()
Dbpf_prog_linfo.c115 if (info->line_info_rec_size < in bpf_prog_linfo__new()
125 prog_linfo->rec_size = info->line_info_rec_size; in bpf_prog_linfo__new()
Dgen_loader.c964 attr.line_info_rec_size = load_attr->line_info_rec_size; in bpf_gen__prog_load()
967 attr.line_info_cnt * attr.line_info_rec_size); in bpf_gen__prog_load()
Dbpf.h97 __u32 line_info_rec_size; member
Dlibbpf.c493 __u32 line_info_rec_size; member
6244 &main_prog->line_info_rec_size); in reloc_prog_func_and_line_info()
7454 load_attr.line_info_rec_size = prog->line_info_rec_size; in bpf_object_load_prog()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbtf.c5675 __u32 line_info_rec_size; member
5832 .line_info_rec_size = sizeof(struct bpf_line_info),
5859 .line_info_rec_size = sizeof(struct bpf_line_info),
5886 .line_info_rec_size = sizeof(struct bpf_line_info),
5914 .line_info_rec_size = sizeof(struct bpf_line_info) + sizeof(__u32),
5940 .line_info_rec_size = sizeof(struct bpf_line_info) + sizeof(__u32),
5972 .line_info_rec_size = sizeof(struct bpf_line_info),
6008 .line_info_rec_size = sizeof(struct bpf_line_info),
6038 .line_info_rec_size = sizeof(struct bpf_line_info),
6070 .line_info_rec_size = sizeof(struct bpf_line_info),
[all …]
/linux-6.12.1/tools/perf/util/
Dbpf-utils.c57 offsetof(struct bpf_prog_info, line_info_rec_size),
/linux-6.12.1/tools/bpf/bpftool/
Dprog.c115 holder.line_info_rec_size = info->line_info_rec_size; in prep_prog_info()
116 needed += info->nr_line_info * info->line_info_rec_size; in prep_prog_info()
150 ptr += holder.nr_line_info * holder.line_info_rec_size; in prep_prog_info()
/linux-6.12.1/Documentation/bpf/
Dbtf.rst671 __u32 line_info_rec_size; /* userspace bpf_line_info size */
689 line_info_rec_size is the size of each line_info record. Passing the record
810 line_info_rec_size /* __u32 value */
815 ``line_info_rec_size`` specifies the size of ``bpf_line_info`` structure when
/linux-6.12.1/include/uapi/linux/
Dbpf.h1552 __u32 line_info_rec_size; /* userspace bpf_line_info size */ member
6582 __u32 line_info_rec_size; member
/linux-6.12.1/tools/include/uapi/linux/
Dbpf.h1552 __u32 line_info_rec_size; /* userspace bpf_line_info size */ member
6582 __u32 line_info_rec_size; member
/linux-6.12.1/kernel/bpf/
Dsyscall.c4520 if ((info->nr_line_info || info->line_info_rec_size) && in set_info_rec_size()
4521 info->line_info_rec_size != sizeof(struct bpf_line_info)) in set_info_rec_size()
4529 info->line_info_rec_size = sizeof(struct bpf_line_info); in set_info_rec_size()
4767 info.line_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
Dverifier.c16810 rec_size = attr->line_info_rec_size; in check_btf_line()
16838 offsetof(union bpf_attr, line_info_rec_size), in check_btf_line()