| /Linux-v5.15/Documentation/bpf/ |
| D | btf.rst | 476 * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info 548 During prog_load, func_info and line_info can be passed to kernel with proper 560 __aligned_u64 line_info; /* line info */ 563 The func_info and line_info are an array of below, respectively.:: 577 line_info_rec_size is the size of each line_info record. Passing the record 585 Below are requirements for line_info: 586 * the first insn in each func must have a line_info record pointing to it. 587 * the line_info insn_off is in strictly increasing order. 589 For line_info, the line number and column number are defined as below: 646 The .BTF.ext section encodes func_info and line_info which needs loader [all …]
|
| /Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
| D | btf.c | 5095 __u32 line_info[MAX_NR_RAW_U32]; member 5132 .line_info = { BTF_END_RAW }, 5163 .line_info = { BTF_END_RAW }, 5195 .line_info = { BTF_END_RAW }, 5227 .line_info = { BTF_END_RAW }, 5246 .line_info = { 5272 .line_info = { 5301 .line_info = { 5328 .line_info = { 5354 .line_info = { [all …]
|
| /Linux-v5.15/tools/lib/bpf/ |
| D | linker.c | 130 struct btf_ext_sec_data line_info; member 209 free(sec->line_info.recs); in bpf_linker__free() 2467 rec_sz = obj->btf_ext->line_info.rec_size; in linker_append_btf_ext() 2468 for_each_btf_ext_sec(&obj->btf_ext->line_info, ext_sec) { in linker_append_btf_ext() 2479 if (dst_sec->line_info.rec_sz == 0) in linker_append_btf_ext() 2480 dst_sec->line_info.rec_sz = rec_sz; in linker_append_btf_ext() 2481 if (dst_sec->line_info.rec_sz != rec_sz) { in linker_append_btf_ext() 2486 for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { in linker_append_btf_ext() 2487 dst_rec = add_btf_ext_rec(&dst_sec->line_info, src_rec); in linker_append_btf_ext() 2776 if (sec->line_info.rec_cnt) { in finalize_btf_ext() [all …]
|
| D | gen_loader.c | 589 int prog_load_attr, license, insns, func_info, line_info; in bpf_gen__prog_load() local 616 line_info = add_data(gen, load_attr->line_info, in bpf_gen__prog_load() 633 emit_rel_store(gen, attr_field(prog_load_attr, line_info), line_info); in bpf_gen__prog_load()
|
| D | bpf.c | 266 attr.line_info = ptr_to_u64(load_attr->line_info); in libbpf__bpf_prog_load() 298 linfo = alloc_zero_tailing_info(load_attr->line_info, in libbpf__bpf_prog_load() 307 attr.line_info = ptr_to_u64(linfo); in libbpf__bpf_prog_load() 371 p.line_info = load_attr->line_info; in bpf_load_program_xattr()
|
| D | libbpf_internal.h | 273 const void *line_info; member 356 struct btf_ext_info line_info; member
|
| D | bpf_prog_linfo.c | 130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new()
|
| D | bpf.h | 94 const void *line_info; member
|
| D | btf.h | 96 void **line_info, __u32 *cnt);
|
| D | btf.c | 2559 .ext_info = &btf_ext->line_info, in btf_ext_setup_line_info() 2740 void **line_info, __u32 *cnt) in btf_ext__reloc_line_info() argument 2742 return btf_ext_reloc_info(btf, &btf_ext->line_info, sec_name, in btf_ext__reloc_line_info() 2743 insns_cnt, line_info, cnt); in btf_ext__reloc_line_info() 2753 return btf_ext->line_info.rec_size; in btf_ext__line_info_rec_size() 4628 seg = &btf_ext->line_info; in btf_ext_visit_str_offs()
|
| D | libbpf.c | 307 void *line_info; member 553 zfree(&prog->line_info); in bpf_program__unload() 5438 goto line_info; in reloc_prog_func_and_line_info() 5463 line_info: in reloc_prog_func_and_line_info() 5465 if (main_prog != prog && !main_prog->line_info) in reloc_prog_func_and_line_info() 5468 err = adjust_prog_btf_ext_info(obj, prog, &obj->btf_ext->line_info, in reloc_prog_func_and_line_info() 5469 &main_prog->line_info, in reloc_prog_func_and_line_info() 5478 if (main_prog->line_info) { in reloc_prog_func_and_line_info() 6118 load_attr.line_info = prog->line_info; in load_program() 10301 offsetof(struct bpf_prog_info, line_info),
|
| /Linux-v5.15/sound/pci/mixart/ |
| D | mixart_core.h | 109 struct mixart_analog_hw_info line_info; member
|
| /Linux-v5.15/include/uapi/linux/ |
| D | bpf.h | 1328 __aligned_u64 line_info; /* line info */ member 5570 __aligned_u64 line_info; member
|
| /Linux-v5.15/tools/include/uapi/linux/ |
| D | bpf.h | 1328 __aligned_u64 line_info; /* line info */ member 5570 __aligned_u64 line_info; member
|
| /Linux-v5.15/tools/bpf/bpftool/Documentation/ |
| D | bpftool-prog.rst | 103 If the programs have line_info available, the source line will 117 If the prog has line_info available, the source line will
|
| /Linux-v5.15/drivers/tty/ |
| D | amiserial.c | 1370 static inline void line_info(struct seq_file *m, int line, in line_info() function 1422 line_info(m, 0, &serial_state); in rs_proc_show()
|
| D | synclink_gt.c | 1173 static inline void line_info(struct seq_file *m, struct slgt_info *info) in line_info() function 1248 line_info(m, info); in synclink_gt_proc_show()
|
| /Linux-v5.15/drivers/char/pcmcia/ |
| D | synclink_cs.c | 2528 static inline void line_info(struct seq_file *m, MGSLPC_INFO *info) in line_info() function 2602 line_info(m, info); in mgslpc_proc_show()
|
| /Linux-v5.15/kernel/bpf/ |
| D | syscall.c | 3796 user_linfo = u64_to_user_ptr(info.line_info); in bpf_prog_get_info_by_fd()
|
| D | verifier.c | 9937 ulinfo = make_bpfptr(attr->line_info, uattr.is_kernel); in check_btf_line()
|