/linux/tools/perf/util/ |
H A D | llvm-c-helpers.cpp | 55 static int extract_file_and_line(const DILineInfo &line_info, char **file, in extract_file_and_line() argument 59 if (line_info.FileName == "<invalid>") { in extract_file_and_line() 64 *file = strdup(line_info.FileName.c_str()); in extract_file_and_line() 70 *line = line_info.Line; in extract_file_and_line()
|
H A D | bpf-utils.c | 55 offsetof(struct bpf_prog_info, line_info),
|
/linux/Documentation/bpf/ |
H A D | btf.rst | 591 * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info 672 __aligned_u64 line_info; /* line info */ 675 The func_info and line_info are an array of below, respectively.:: 697 Below are requirements for line_info: 699 * the line_info insn_off is in strictly increasing order. 701 For line_info, the line number and column number are defined as below: 784 contains func_info, line_info and core_relo sub-sections. 785 See :ref:`BPF_Prog_Load` for details about func_info and line_info 808 The line_info is organized as below.:: 811 btf_ext_info_sec for section #1 /* line_info for section #1 */ [all …]
|
/linux/tools/lib/bpf/ |
H A D | linker.c | 129 struct btf_ext_sec_data line_info; member 208 free(sec->line_info.recs); in bpf_linker__free() 2512 rec_sz = obj->btf_ext->line_info.rec_size; in linker_append_btf_ext() 2513 for_each_btf_ext_sec(&obj->btf_ext->line_info, ext_sec) { in linker_append_btf_ext() 2524 if (dst_sec->line_info.rec_sz == 0) in linker_append_btf_ext() 2525 dst_sec->line_info.rec_sz = rec_sz; in linker_append_btf_ext() 2526 if (dst_sec->line_info.rec_sz != rec_sz) { in linker_append_btf_ext() 2823 if (sec->line_info.rec_cnt) { in finalize_btf_ext() 2825 line_rec_sz = sec->line_info.rec_sz; in finalize_btf_ext() 2826 if (line_rec_sz != sec->line_info.rec_sz) { in finalize_btf_ext() [all …]
|
H A D | bpf.c | 243 const char *func_info, *line_info; in bpf_prog_load() local 308 line_info = OPTS_GET(opts, line_info, NULL); in bpf_prog_load() 310 attr.line_info = ptr_to_u64(line_info); in bpf_prog_load() 347 linfo = alloc_zero_tailing_info(line_info, in bpf_prog_load() 356 attr.line_info = ptr_to_u64(linfo); in bpf_prog_load()
|
H A D | gen_loader.c | 939 int prog_load_attr, license_off, insns_off, func_info, line_info, core_relos; in bpf_gen__prog_load() local 966 line_info = add_data(gen, load_attr->line_info, in bpf_gen__prog_load() 987 emit_rel_store(gen, attr_field(prog_load_attr, line_info), line_info); in bpf_gen__prog_load()
|
H A D | bpf_prog_linfo.c | 130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new()
|
H A D | bpf.h | 95 const void *line_info; member
|
H A D | libbpf_internal.h | 488 struct btf_ext_info line_info; member
|
H A D | libbpf.c | 492 void *line_info; member 756 zfree(&prog->line_info); in bpf_program__unload() 3241 ext_segs[1] = &obj->btf_ext->line_info; in bpf_object__init_btf() 6211 goto line_info; in reloc_prog_func_and_line_info() 6236 line_info: in reloc_prog_func_and_line_info() 6238 if (main_prog != prog && !main_prog->line_info) in reloc_prog_func_and_line_info() 6241 err = adjust_prog_btf_ext_info(obj, prog, &obj->btf_ext->line_info, in reloc_prog_func_and_line_info() 6242 &main_prog->line_info, in reloc_prog_func_and_line_info() 6251 if (main_prog->line_info) { in reloc_prog_func_and_line_info() 7453 load_attr.line_info = prog->line_info; in bpf_object_load_prog()
|
H A D | btf.c | 3006 .ext_info = &btf_ext->line_info, in btf_ext_setup_line_info() 3067 free(btf_ext->line_info.sec_idxs); in btf_ext__free() 5141 seg = &btf_ext->line_info; in btf_ext_visit_str_offs()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 5825 .line_info = { 5851 .line_info = { 5880 .line_info = { 5907 .line_info = { 5933 .line_info = { 5965 .line_info = { 6001 .line_info = { 6031 .line_info = { 6063 .line_info = { 6095 .line_info = { [all …]
|
/linux/Documentation/userspace-api/gpio/ |
H A D | gpio-v2-get-lineinfo-ioctl.rst | 28 The :c:type:`line_info<gpio_v2_line_info>` to be populated, with the
|
H A D | gpio-get-lineinfo-ioctl.rst | 32 The :c:type:`line_info<gpioline_info>` to be populated, with the
|
H A D | gpio-v2-get-lineinfo-watch-ioctl.rst | 29 The :c:type:`line_info<gpio_v2_line_info>` struct to be populated, with
|
H A D | gpio-get-lineinfo-watch-ioctl.rst | 33 The :c:type:`line_info<gpioline_info>` struct to be populated, with
|
/linux/sound/pci/mixart/ |
H A D | mixart_core.h | 110 struct mixart_analog_hw_info line_info; member
|
/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-prog.rst | 107 If the programs have line_info available, the source line will be 120 If the prog has line_info available, the source line will be displayed. If
|
/linux/drivers/tty/ |
H A D | amiserial.c | 1364 static inline void line_info(struct seq_file *m, int line, in line_info() function 1416 line_info(m, 0, &serial_state); in rs_proc_show()
|
H A D | synclink_gt.c | 1166 static inline void line_info(struct seq_file *m, struct slgt_info *info) in line_info() function 1241 line_info(m, info); in synclink_gt_proc_show()
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1553 __aligned_u64 line_info; /* line info */ member 6579 __aligned_u64 line_info; member
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1553 __aligned_u64 line_info; /* line info */ member 6579 __aligned_u64 line_info; member
|
/linux/tools/bpf/bpftool/ |
H A D | prog.c | 149 holder.line_info = ptr_to_u64(ptr); in prep_prog_info()
|
/linux/kernel/bpf/ |
H A D | syscall.c | 4764 user_linfo = u64_to_user_ptr(info.line_info); in bpf_prog_get_info_by_fd()
|
H A D | verifier.c | 16829 ulinfo = make_bpfptr(attr->line_info, uattr.is_kernel); in check_btf_line()
|