Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/lib/bpf/
A Dbpf_prog_linfo.c44 nr_linfo = prog_linfo->nr_linfo; in dissect_jited_func()
90 if (!prog_linfo) in bpf_prog_linfo__free()
93 free(prog_linfo->raw_linfo); in bpf_prog_linfo__free()
97 free(prog_linfo); in bpf_prog_linfo__free()
119 prog_linfo = calloc(1, sizeof(*prog_linfo)); in bpf_prog_linfo__new()
120 if (!prog_linfo) in bpf_prog_linfo__new()
124 prog_linfo->nr_linfo = nr_linfo; in bpf_prog_linfo__new()
128 if (!prog_linfo->raw_linfo) in bpf_prog_linfo__new()
141 return prog_linfo; in bpf_prog_linfo__new()
173 return prog_linfo; in bpf_prog_linfo__new()
[all …]
A Dlibbpf.h1333 LIBBPF_API void bpf_prog_linfo__free(struct bpf_prog_linfo *prog_linfo);
1337 bpf_prog_linfo__lfind_addr_func(const struct bpf_prog_linfo *prog_linfo,
1340 bpf_prog_linfo__lfind(const struct bpf_prog_linfo *prog_linfo,
/linux-6.3-rc2/tools/bpf/bpftool/
A Dxlated_dumper.c217 const struct bpf_prog_linfo *prog_linfo = dd->prog_linfo; in dump_xlated_json() local
256 if (prog_linfo) { in dump_xlated_json()
259 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_json()
302 const struct bpf_prog_linfo *prog_linfo = dd->prog_linfo; in dump_xlated_plain() local
335 if (prog_linfo) { in dump_xlated_plain()
338 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_plain()
A 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()
A Dxlated_dumper.h25 const struct bpf_prog_linfo *prog_linfo; member
A Dmain.h179 const struct bpf_prog_linfo *prog_linfo,
188 const struct bpf_prog_linfo *prog_linfo, in disasm_print_insn() argument
A 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()
855 dd.prog_linfo = prog_linfo; in prog_dump()
870 bpf_prog_linfo__free(prog_linfo); in prog_dump()
/linux-6.3-rc2/tools/perf/util/
A Dannotate.c1731 struct bpf_prog_linfo *prog_linfo = NULL; in symbol__disassemble_bpf() local
1786 prog_linfo = bpf_prog_linfo__new(&info_linear->info); in symbol__disassemble_bpf()
1821 if (prog_linfo) in symbol__disassemble_bpf()
1822 linfo = bpf_prog_linfo__lfind_addr_func(prog_linfo, in symbol__disassemble_bpf()
1863 free(prog_linfo); in symbol__disassemble_bpf()

Completed in 22 milliseconds