Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_btf.c4995 __u32 line_info[MAX_NR_RAW_U32]; member
5032 .line_info = { BTF_END_RAW },
5063 .line_info = { BTF_END_RAW },
5095 .line_info = { BTF_END_RAW },
5127 .line_info = { BTF_END_RAW },
5146 .line_info = {
5172 .line_info = {
5201 .line_info = {
5228 .line_info = {
5254 .line_info = {
[all …]
/Linux-v5.4/tools/lib/bpf/
Dbtf.c884 .ext_info = &btf_ext->line_info, in btf_ext_setup_line_info()
1059 void **line_info, __u32 *cnt) in btf_ext__reloc_line_info() argument
1061 return btf_ext_reloc_info(btf, &btf_ext->line_info, sec_name, in btf_ext__reloc_line_info()
1062 insns_cnt, line_info, cnt); in btf_ext__reloc_line_info()
1072 return btf_ext->line_info.rec_size; in btf_ext__line_info_rec_size()
1509 line_data_cur = d->btf_ext->line_info.info; in btf_for_each_str_off()
1510 line_data_end = d->btf_ext->line_info.info + d->btf_ext->line_info.len; in btf_for_each_str_off()
1511 rec_size = d->btf_ext->line_info.rec_size; in btf_for_each_str_off()
1515 struct bpf_line_info_min *line_info; in btf_for_each_str_off() local
1524 line_info = line_data_cur; in btf_for_each_str_off()
[all …]
Dbpf.c252 attr.line_info = ptr_to_u64(load_attr->line_info); in bpf_load_program_xattr()
282 linfo = alloc_zero_tailing_info(load_attr->line_info, in bpf_load_program_xattr()
289 attr.line_info = ptr_to_u64(linfo); in bpf_load_program_xattr()
Dlibbpf_internal.h96 struct btf_ext_info line_info; member
Dbpf.h87 const void *line_info; member
Dbpf_prog_linfo.c128 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, in bpf_prog_linfo__new()
Dbtf.h100 void **line_info, __u32 *cnt);
Dlibbpf.c196 void *line_info; member
321 zfree(&prog->line_info); in bpf_program__unload()
2283 if (!insn_offset || prog->line_info) { in bpf_program_reloc_btf_ext()
2286 &prog->line_info, in bpf_program_reloc_btf_ext()
2290 prog->line_info, in bpf_program_reloc_btf_ext()
3387 load_attr.line_info = prog->line_info; in load_program()
5694 offsetof(struct bpf_prog_info, line_info),
/Linux-v5.4/include/uapi/linux/
Dbpf.h421 __aligned_u64 line_info; /* line info */ member
3246 __aligned_u64 line_info; member
/Linux-v5.4/tools/include/uapi/linux/
Dbpf.h421 __aligned_u64 line_info; /* line info */ member
3246 __aligned_u64 line_info; member
/Linux-v5.4/sound/pci/mixart/
Dmixart_core.h109 struct mixart_analog_hw_info line_info; member
/Linux-v5.4/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst83 If the prog has line_info available, the source line will
95 If the prog has line_info available, the source line will
/Linux-v5.4/drivers/tty/
Damiserial.c1487 static inline void line_info(struct seq_file *m, int line, in line_info() function
1539 line_info(m, 0, &rs_table[0]); in rs_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_gt.c1229 static inline void line_info(struct seq_file *m, struct slgt_info *info) in line_info() function
1304 line_info(m, info); in synclink_gt_proc_show()
Dsynclink.c3430 static inline void line_info(struct seq_file *m, struct mgsl_struct *info) in line_info() function
3530 line_info(m, info); in mgsl_proc_show()
/Linux-v5.4/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()
/Linux-v5.4/kernel/bpf/
Dsyscall.c2539 user_linfo = u64_to_user_ptr(info.line_info); in bpf_prog_get_info_by_fd()
Dverifier.c6557 ulinfo = u64_to_user_ptr(attr->line_info); in check_btf_line()