Searched refs:prog_linfo (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | bpf_prog_linfo.c | 22 static int dissect_jited_func(struct bpf_prog_linfo *prog_linfo, in dissect_jited_func() argument 37 raw_jited_linfo = prog_linfo->raw_jited_linfo; in dissect_jited_func() 42 prog_linfo->jited_linfo_func_idx[0] = 0; in dissect_jited_func() 43 nr_jited_func = prog_linfo->nr_jited_func; in dissect_jited_func() 44 nr_linfo = prog_linfo->nr_linfo; in dissect_jited_func() 49 raw_jited_linfo += prog_linfo->jited_rec_size; in dissect_jited_func() 54 prog_linfo->jited_linfo_func_idx[f] = i; in dissect_jited_func() 61 prog_linfo->nr_jited_linfo_per_func[f - 1] = in dissect_jited_func() 79 prog_linfo->nr_jited_linfo_per_func[nr_jited_func - 1] = in dissect_jited_func() 88 void bpf_prog_linfo__free(struct bpf_prog_linfo *prog_linfo) in bpf_prog_linfo__free() argument [all …]
|
D | libbpf.h | 614 LIBBPF_API void bpf_prog_linfo__free(struct bpf_prog_linfo *prog_linfo); 618 bpf_prog_linfo__lfind_addr_func(const struct bpf_prog_linfo *prog_linfo, 621 bpf_prog_linfo__lfind(const struct bpf_prog_linfo *prog_linfo,
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | xlated_dumper.c | 208 const struct bpf_prog_linfo *prog_linfo = dd->prog_linfo; in dump_xlated_json() local 247 if (prog_linfo) { in dump_xlated_json() 250 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_json() 293 const struct bpf_prog_linfo *prog_linfo = dd->prog_linfo; in dump_xlated_plain() local 326 if (prog_linfo) { in dump_xlated_plain() 329 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_plain()
|
D | jit_disasm.c | 79 const struct bpf_prog_linfo *prog_linfo, in disasm_print_insn() argument 142 if (prog_linfo) { in disasm_print_insn() 143 linfo = bpf_prog_linfo__lfind_addr_func(prog_linfo, in disasm_print_insn()
|
D | xlated_dumper.h | 25 const struct bpf_prog_linfo *prog_linfo; member
|
D | main.h | 198 const struct bpf_prog_linfo *prog_linfo, 207 const struct bpf_prog_linfo *prog_linfo, in disasm_print_insn() argument
|
D | prog.c | 616 struct bpf_prog_linfo *prog_linfo = NULL; in prog_dump() local 651 prog_linfo = bpf_prog_linfo__new(info); in prog_dump() 652 if (!prog_linfo) in prog_dump() 738 prog_linfo, ksyms[i], i, in prog_dump() 767 dd.prog_linfo = prog_linfo; in prog_dump()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | annotate.c | 1694 struct bpf_prog_linfo *prog_linfo = NULL; in symbol__disassemble_bpf() local 1748 prog_linfo = bpf_prog_linfo__new(&info_linear->info); in symbol__disassemble_bpf() 1783 if (prog_linfo) in symbol__disassemble_bpf() 1784 linfo = bpf_prog_linfo__lfind_addr_func(prog_linfo, in symbol__disassemble_bpf() 1823 free(prog_linfo); in symbol__disassemble_bpf()
|