aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2022-10-25 15:03:26 +0000
committerAlexei Starovoitov <[email protected]>2022-10-25 17:11:56 +0000
commite1947c750ffe5effa371d7b7bc72043f100f6a93 (patch)
tree2f212e7b7d683da57eeab8988da658d5c19d9c0c /tools/bpf/bpftool/prog.c
parentbpftool: Group libbfd defs in Makefile, only pass them if we use libbfd (diff)
downloadkernel-e1947c750ffe5effa371d7b7bc72043f100f6a93.tar.gz
kernel-e1947c750ffe5effa371d7b7bc72043f100f6a93.zip
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 <[email protected]> Tested-by: Niklas Söderlund <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions