/Linux-v6.1/Documentation/bpf/ |
D | btf.rst | 562 * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info 631 During prog_load, func_info and line_info can be passed to kernel with proper 643 __aligned_u64 line_info; /* line info */ 646 The func_info and line_info are an array of below, respectively.:: 660 line_info_rec_size is the size of each line_info record. Passing the record 668 Below are requirements for line_info: 669 * the first insn in each func must have a line_info record pointing to it. 670 * the line_info insn_off is in strictly increasing order. 672 For line_info, the line number and column number are defined as below: 729 The .BTF.ext section encodes func_info and line_info which needs loader [all …]
|
/Linux-v6.1/tools/lib/bpf/ |
D | linker.c | 129 struct btf_ext_sec_data line_info; member 208 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() 2778 if (sec->line_info.rec_cnt) { in finalize_btf_ext() [all …]
|
D | bpf.c | 237 const char *func_info, *line_info; in bpf_prog_load() local 305 line_info = OPTS_GET(opts, line_info, NULL); in bpf_prog_load() 307 attr.line_info = ptr_to_u64(line_info); in bpf_prog_load() 343 linfo = alloc_zero_tailing_info(line_info, in bpf_prog_load() 352 attr.line_info = ptr_to_u64(linfo); in bpf_prog_load()
|
D | gen_loader.c | 937 int prog_load_attr, license_off, insns_off, func_info, line_info, core_relos; in bpf_gen__prog_load() local 964 line_info = add_data(gen, load_attr->line_info, in bpf_gen__prog_load() 985 emit_rel_store(gen, attr_field(prog_load_attr, line_info), line_info); in bpf_gen__prog_load()
|
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 | 91 const void *line_info; member
|
D | libbpf_internal.h | 446 struct btf_ext_info line_info; member
|
D | libbpf.c | 435 void *line_info; member 686 zfree(&prog->line_info); in bpf_program__unload() 2795 ext_segs[1] = &obj->btf_ext->line_info; in bpf_object__init_btf() 5972 goto line_info; in reloc_prog_func_and_line_info() 5997 line_info: in reloc_prog_func_and_line_info() 5999 if (main_prog != prog && !main_prog->line_info) in reloc_prog_func_and_line_info() 6002 err = adjust_prog_btf_ext_info(obj, prog, &obj->btf_ext->line_info, in reloc_prog_func_and_line_info() 6003 &main_prog->line_info, in reloc_prog_func_and_line_info() 6012 if (main_prog->line_info) { in reloc_prog_func_and_line_info() 6749 load_attr.line_info = prog->line_info; in bpf_object_load_prog()
|
D | btf.c | 2752 .ext_info = &btf_ext->line_info, in btf_ext_setup_line_info() 2813 free(btf_ext->line_info.sec_idxs); in btf_ext__free() 4867 seg = &btf_ext->line_info; in btf_ext_visit_str_offs()
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 5533 __u32 line_info[MAX_NR_RAW_U32]; member 5570 .line_info = { BTF_END_RAW }, 5601 .line_info = { BTF_END_RAW }, 5633 .line_info = { BTF_END_RAW }, 5665 .line_info = { BTF_END_RAW }, 5684 .line_info = { 5710 .line_info = { 5739 .line_info = { 5766 .line_info = { 5792 .line_info = { [all …]
|
/Linux-v6.1/tools/perf/util/ |
D | bpf-utils.c | 55 offsetof(struct bpf_prog_info, line_info),
|
/Linux-v6.1/sound/pci/mixart/ |
D | mixart_core.h | 110 struct mixart_analog_hw_info line_info; member
|
/Linux-v6.1/tools/bpf/bpftool/Documentation/ |
D | bpftool-prog.rst | 108 If the programs have line_info available, the source line will 122 If the prog has line_info available, the source line will
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | bpf.h | 1380 __aligned_u64 line_info; /* line info */ member 6192 __aligned_u64 line_info; member
|
/Linux-v6.1/include/uapi/linux/ |
D | bpf.h | 1380 __aligned_u64 line_info; /* line info */ member 6192 __aligned_u64 line_info; member
|
/Linux-v6.1/drivers/tty/ |
D | amiserial.c | 1366 static inline void line_info(struct seq_file *m, int line, in line_info() function 1418 line_info(m, 0, &serial_state); in rs_proc_show()
|
D | synclink_gt.c | 1167 static inline void line_info(struct seq_file *m, struct slgt_info *info) in line_info() function 1242 line_info(m, info); in synclink_gt_proc_show()
|
/Linux-v6.1/drivers/char/pcmcia/ |
D | synclink_cs.c | 2531 static inline void line_info(struct seq_file *m, MGSLPC_INFO *info) in line_info() function 2605 line_info(m, info); in mgslpc_proc_show()
|
/Linux-v6.1/tools/bpf/bpftool/ |
D | prog.c | 147 holder.line_info = ptr_to_u64(ptr); in prep_prog_info()
|
/Linux-v6.1/kernel/bpf/ |
D | syscall.c | 4122 user_linfo = u64_to_user_ptr(info.line_info); in bpf_prog_get_info_by_fd()
|
D | verifier.c | 11160 ulinfo = make_bpfptr(attr->line_info, uattr.is_kernel); in check_btf_line()
|