diff options
author | Quentin Monnet <quentin@isovalent.com> | 2022-10-25 16:03:26 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-10-25 10:11:56 -0700 |
commit | e1947c750ffe5effa371d7b7bc72043f100f6a93 (patch) | |
tree | 2f212e7b7d683da57eeab8988da658d5c19d9c0c /tools/bpf/bpftool/Makefile | |
parent | 2ea4d86a5093defcb2fc49799184ede178e64d36 (diff) |
bpftool: Refactor disassembler for JIT-ed programs
Refactor disasm_print_insn() to extract the code specific to libbfd and
move it to dedicated functions. There is no functional change. This is
in preparation for supporting an alternative library for disassembling
the instructions.
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Tested-by: Niklas Söderlund <niklas.soderlund@corigine.com>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20221025150329.97371-6-quentin@isovalent.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/Makefile')
0 files changed, 0 insertions, 0 deletions