Home
last modified time | relevance | path

Searched refs:prog_linfo (Results 1 – 7 of 7) sorted by relevance

/linux/tools/lib/bpf/
H A Dbpf_prog_linfo.c22 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 …]
H A Dlibbpf.h1621 LIBBPF_API void bpf_prog_linfo__free(struct bpf_prog_linfo *prog_linfo);
1625 bpf_prog_linfo__lfind_addr_func(const struct bpf_prog_linfo *prog_linfo,
1628 bpf_prog_linfo__lfind(const struct bpf_prog_linfo *prog_linfo,
/linux/tools/bpf/bpftool/
H A Dxlated_dumper.c221 const struct bpf_prog_linfo *prog_linfo = dd->prog_linfo; in dump_xlated_json() local
260 if (prog_linfo) { in dump_xlated_json()
263 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_json()
306 const struct bpf_prog_linfo *prog_linfo = dd->prog_linfo; in dump_xlated_plain() local
339 if (prog_linfo) { in dump_xlated_plain()
342 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_plain()
377 const struct bpf_prog_linfo *prog_linfo = dd->prog_linfo; in dump_xlated_for_graph() local
408 if (prog_linfo) { in dump_xlated_for_graph()
411 linfo = bpf_prog_linfo__lfind(prog_linfo, insn_off, 0); in dump_xlated_for_graph()
H A Dxlated_dumper.h27 const struct bpf_prog_linfo *prog_linfo; member
H A Dmain.h180 const struct bpf_prog_linfo *prog_linfo,
189 const struct bpf_prog_linfo *prog_linfo, in disasm_print_insn() argument
H A Dprog.c704 struct bpf_prog_linfo *prog_linfo = NULL; in prog_dump() local
742 prog_linfo = bpf_prog_linfo__new(info); in prog_dump()
743 if (!prog_linfo) in prog_dump()
828 prog_linfo, ksyms[i], i, in prog_dump()
861 dd.prog_linfo = prog_linfo; in prog_dump()
876 bpf_prog_linfo__free(prog_linfo); in do_dump()
/linux/tools/perf/util/
H A Ddisasm_bpf.c31 struct bpf_prog_linfo *prog_linfo = NULL; in symbol__disassemble_bpf() local
89 prog_linfo = bpf_prog_linfo__new(&info_linear->info); in symbol__disassemble_bpf()
125 if (prog_linfo) in symbol__disassemble_bpf()
126 linfo = bpf_prog_linfo__lfind_addr_func(prog_linfo, in symbol__disassemble_bpf()
167 free(prog_linfo); in symbol__disassemble_bpf()