Home
last modified time | relevance | path

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

/tools/lib/bpf/
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 …]
Dlibbpf.h1457 LIBBPF_API void bpf_prog_linfo__free(struct bpf_prog_linfo *prog_linfo);
1461 bpf_prog_linfo__lfind_addr_func(const struct bpf_prog_linfo *prog_linfo,
1464 bpf_prog_linfo__lfind(const struct bpf_prog_linfo *prog_linfo,
/tools/bpf/bpftool/
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()
Dxlated_dumper.h27 const struct bpf_prog_linfo *prog_linfo; member
Djit_disasm.c322 const struct bpf_prog_linfo *prog_linfo, in disasm_print_insn() argument
340 if (prog_linfo) { in disasm_print_insn()
341 linfo = bpf_prog_linfo__lfind_addr_func(prog_linfo, in disasm_print_insn()
Dmain.h180 const struct bpf_prog_linfo *prog_linfo,
189 const struct bpf_prog_linfo *prog_linfo, in disasm_print_insn() argument
Dprog.c700 struct bpf_prog_linfo *prog_linfo = NULL; in prog_dump() local
738 prog_linfo = bpf_prog_linfo__new(info); in prog_dump()
739 if (!prog_linfo) in prog_dump()
823 prog_linfo, ksyms[i], i, in prog_dump()
850 dd.prog_linfo = prog_linfo; in prog_dump()
865 bpf_prog_linfo__free(prog_linfo); in prog_dump()
/tools/perf/util/
Dannotate.c1846 struct bpf_prog_linfo *prog_linfo = NULL; in symbol__disassemble_bpf() local
1904 prog_linfo = bpf_prog_linfo__new(&info_linear->info); in symbol__disassemble_bpf()
1940 if (prog_linfo) in symbol__disassemble_bpf()
1941 linfo = bpf_prog_linfo__lfind_addr_func(prog_linfo, in symbol__disassemble_bpf()
1982 free(prog_linfo); in symbol__disassemble_bpf()