diff options
author | Quentin Monnet <[email protected]> | 2022-10-25 16:03:26 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-10-25 10:11:56 -0700 |
commit | e1947c750ffe5effa371d7b7bc72043f100f6a93 (patch) | |
tree | 2f212e7b7d683da57eeab8988da658d5c19d9c0c /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
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 <[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/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions