Home
last modified time | relevance | path

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

/linux/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.h842 LIBBPF_API void bpf_prog_linfo__free(struct bpf_prog_linfo *prog_linfo);
846 bpf_prog_linfo__lfind_addr_func(const struct bpf_prog_linfo *prog_linfo,
849 bpf_prog_linfo__lfind(const struct bpf_prog_linfo *prog_linfo,
/linux/tools/bpf/bpftool/
A Dxlated_dumper.c214 const struct bpf_prog_linfo *prog_linfo = dd->prog_linfo; in dump_xlated_json() local
253 if (prog_linfo) { in dump_xlated_json()
256 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_json()
299 const struct bpf_prog_linfo *prog_linfo = dd->prog_linfo; in dump_xlated_plain() local
332 if (prog_linfo) { in dump_xlated_plain()
335 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_plain()
A Djit_disasm.c79 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()
A Dxlated_dumper.h25 const struct bpf_prog_linfo *prog_linfo; member
A Dmain.h180 const struct bpf_prog_linfo *prog_linfo,
189 const struct bpf_prog_linfo *prog_linfo, in disasm_print_insn() argument
A Dprog.c634 struct bpf_prog_linfo *prog_linfo = NULL; in prog_dump() local
672 prog_linfo = bpf_prog_linfo__new(info); in prog_dump()
673 if (!prog_linfo) in prog_dump()
759 prog_linfo, ksyms[i], i, in prog_dump()
788 dd.prog_linfo = prog_linfo; in prog_dump()
/linux/tools/perf/util/
A Dannotate.c1719 struct bpf_prog_linfo *prog_linfo = NULL; in symbol__disassemble_bpf() local
1774 prog_linfo = bpf_prog_linfo__new(&info_linear->info); in symbol__disassemble_bpf()
1809 if (prog_linfo) in symbol__disassemble_bpf()
1810 linfo = bpf_prog_linfo__lfind_addr_func(prog_linfo, in symbol__disassemble_bpf()
1851 free(prog_linfo); in symbol__disassemble_bpf()

Completed in 20 milliseconds