Home
last modified time | relevance | path

Searched refs:line_info (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/Documentation/bpf/
Dbtf.rst463 * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info
535 During prog_load, func_info and line_info can be passed to kernel with proper
547 __aligned_u64 line_info; /* line info */
550 The func_info and line_info are an array of below, respectively.::
564 line_info_rec_size is the size of each line_info record. Passing the record
572 Below are requirements for line_info:
573 * the first insn in each func must have a line_info record pointing to it.
574 * the line_info insn_off is in strictly increasing order.
576 For line_info, the line number and column number are defined as below:
633 The .BTF.ext section encodes func_info and line_info which needs loader
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf.c4940 __u32 line_info[MAX_NR_RAW_U32]; member
4977 .line_info = { BTF_END_RAW },
5008 .line_info = { BTF_END_RAW },
5040 .line_info = { BTF_END_RAW },
5072 .line_info = { BTF_END_RAW },
5091 .line_info = {
5117 .line_info = {
5146 .line_info = {
5173 .line_info = {
5199 .line_info = {
[all …]
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.c2441 .ext_info = &btf_ext->line_info, in btf_ext_setup_line_info()
2618 void **line_info, __u32 *cnt) in btf_ext__reloc_line_info() argument
2620 return btf_ext_reloc_info(btf, &btf_ext->line_info, sec_name, in btf_ext__reloc_line_info()
2621 insns_cnt, line_info, cnt); in btf_ext__reloc_line_info()
2631 return btf_ext->line_info.rec_size; in btf_ext__line_info_rec_size()
3071 line_data_cur = d->btf_ext->line_info.info; in btf_for_each_str_off()
3072 line_data_end = d->btf_ext->line_info.info + d->btf_ext->line_info.len; in btf_for_each_str_off()
3073 rec_size = d->btf_ext->line_info.rec_size; in btf_for_each_str_off()
3077 struct bpf_line_info_min *line_info; in btf_for_each_str_off() local
3086 line_info = line_data_cur; in btf_for_each_str_off()
[all …]
Dbpf.c265 attr.line_info = ptr_to_u64(load_attr->line_info); in bpf_load_program_xattr()
295 linfo = alloc_zero_tailing_info(load_attr->line_info, in bpf_load_program_xattr()
302 attr.line_info = ptr_to_u64(linfo); in bpf_load_program_xattr()
Dbpf_prog_linfo.c130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new()
Dlibbpf_internal.h224 struct btf_ext_info line_info; member
Dbpf.h94 const void *line_info; member
Dbtf.h79 void **line_info, __u32 *cnt);
Dlibbpf.c285 void *line_info; member
511 zfree(&prog->line_info); in bpf_program__unload()
6128 goto line_info; in reloc_prog_func_and_line_info()
6153 line_info: in reloc_prog_func_and_line_info()
6155 if (main_prog != prog && !main_prog->line_info) in reloc_prog_func_and_line_info()
6158 err = adjust_prog_btf_ext_info(obj, prog, &obj->btf_ext->line_info, in reloc_prog_func_and_line_info()
6159 &main_prog->line_info, in reloc_prog_func_and_line_info()
6168 if (main_prog->line_info) { in reloc_prog_func_and_line_info()
6726 load_attr.line_info = prog->line_info; in load_program()
10440 offsetof(struct bpf_prog_info, line_info),
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_core.h109 struct mixart_analog_hw_info line_info; member
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst100 If the programs have line_info available, the source line will
114 If the prog has line_info available, the source line will
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h556 __aligned_u64 line_info; /* line info */ member
4389 __aligned_u64 line_info; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h556 __aligned_u64 line_info; /* line info */ member
4389 __aligned_u64 line_info; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h338 __aligned_u64 line_info; member
770 __aligned_u64 line_info; member
/kernel/linux/linux-5.10/drivers/tty/
Damiserial.c1404 static inline void line_info(struct seq_file *m, int line, in line_info() function
1456 line_info(m, 0, &rs_table[0]); in rs_proc_show()
Dsynclink_gt.c1174 static inline void line_info(struct seq_file *m, struct slgt_info *info) in line_info() function
1249 line_info(m, info); in synclink_gt_proc_show()
Dsynclinkmp.c1336 static inline void line_info(struct seq_file *m, SLMP_INFO *info) in line_info() function
1417 line_info(m, info); in synclinkmp_proc_show()
Dsynclink.c3429 static inline void line_info(struct seq_file *m, struct mgsl_struct *info) in line_info() function
3523 line_info(m, info); in mgsl_proc_show()
/kernel/linux/linux-5.10/drivers/char/pcmcia/
Dsynclink_cs.c2538 static inline void line_info(struct seq_file *m, MGSLPC_INFO *info) in line_info() function
2612 line_info(m, info); in mgslpc_proc_show()
/kernel/linux/linux-5.10/kernel/bpf/
Dsyscall.c3630 user_linfo = u64_to_user_ptr(info.line_info); in bpf_prog_get_info_by_fd()
Dverifier.c8916 ulinfo = u64_to_user_ptr(attr->line_info); in check_btf_line()