Searched refs:prog_linfo (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/tools/lib/bpf/ |
A D | bpf_prog_linfo.c | 44 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 D | libbpf.h | 1333 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 D | xlated_dumper.c | 217 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 D | jit_disasm.c | 322 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 D | xlated_dumper.h | 25 const struct bpf_prog_linfo *prog_linfo; member
|
A D | main.h | 179 const struct bpf_prog_linfo *prog_linfo, 188 const struct bpf_prog_linfo *prog_linfo, in disasm_print_insn() argument
|
A D | prog.c | 700 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 D | annotate.c | 1731 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