Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dbpf.c239 __u32 func_info_rec_size, line_info_rec_size; in bpf_prog_load() local
304 line_info_rec_size = OPTS_GET(opts, line_info_rec_size, 0); in bpf_prog_load()
306 attr.line_info_rec_size = line_info_rec_size; in bpf_prog_load()
342 attr.line_info_rec_size < line_info_rec_size) { in bpf_prog_load()
345 line_info_rec_size, in bpf_prog_load()
346 attr.line_info_rec_size); in bpf_prog_load()
353 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()
Dbpf.h93 __u32 line_info_rec_size; member
Dgen_loader.c962 attr.line_info_rec_size = load_attr->line_info_rec_size; in bpf_gen__prog_load()
965 attr.line_info_cnt * attr.line_info_rec_size); in bpf_gen__prog_load()
Dlibbpf.c436 __u32 line_info_rec_size; member
6017 &main_prog->line_info_rec_size); in reloc_prog_func_and_line_info()
6762 load_attr.line_info_rec_size = prog->line_info_rec_size; in bpf_object_load_prog()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbtf.c5534 __u32 line_info_rec_size; member
5691 .line_info_rec_size = sizeof(struct bpf_line_info),
5718 .line_info_rec_size = sizeof(struct bpf_line_info),
5745 .line_info_rec_size = sizeof(struct bpf_line_info),
5773 .line_info_rec_size = sizeof(struct bpf_line_info) + sizeof(__u32),
5799 .line_info_rec_size = sizeof(struct bpf_line_info) + sizeof(__u32),
5831 .line_info_rec_size = sizeof(struct bpf_line_info),
5867 .line_info_rec_size = sizeof(struct bpf_line_info),
5897 .line_info_rec_size = sizeof(struct bpf_line_info),
5929 .line_info_rec_size = sizeof(struct bpf_line_info),
[all …]
/linux-6.1.9/tools/perf/util/
Dbpf-utils.c57 offsetof(struct bpf_prog_info, line_info_rec_size),
/linux-6.1.9/tools/bpf/bpftool/
Dprog.c113 holder.line_info_rec_size = info->line_info_rec_size; in prep_prog_info()
114 needed += info->nr_line_info * info->line_info_rec_size; in prep_prog_info()
148 ptr += holder.nr_line_info * holder.line_info_rec_size; in prep_prog_info()
/linux-6.1.9/Documentation/bpf/
Dbtf.rst642 __u32 line_info_rec_size; /* userspace bpf_line_info size */
660 line_info_rec_size is the size of each line_info record. Passing the record
776 line_info_rec_size
781 ``line_info_rec_size`` specifies the size of ``bpf_line_info`` structure when
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h1379 __u32 line_info_rec_size; /* userspace bpf_line_info size */ member
6195 __u32 line_info_rec_size; member
/linux-6.1.9/include/uapi/linux/
Dbpf.h1379 __u32 line_info_rec_size; /* userspace bpf_line_info size */ member
6195 __u32 line_info_rec_size; member
/linux-6.1.9/kernel/bpf/
Dsyscall.c3876 if ((info->nr_line_info || info->line_info_rec_size) && in set_info_rec_size()
3877 info->line_info_rec_size != sizeof(struct bpf_line_info)) in set_info_rec_size()
3885 info->line_info_rec_size = sizeof(struct bpf_line_info); in set_info_rec_size()
4123 info.line_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
Dverifier.c11163 rec_size = attr->line_info_rec_size; in check_btf_line()
11191 offsetof(union bpf_attr, line_info_rec_size), in check_btf_line()