aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2017-04-11 14:30:52 -0700
committerDavid S. Miller <davem@davemloft.net>2017-04-13 13:04:03 -0400
commitb6518e6a0086fc152f9a35ac5062930788f8b4bc (patch)
treee7d3f13fc31874e57f09722408937c7a523d57c5 /net
parentnet: stmmac: set total length of the packet to be transmitted in TDES3 (diff)
downloadlinux-dev-b6518e6a0086fc152f9a35ac5062930788f8b4bc.tar.xz
linux-dev-b6518e6a0086fc152f9a35ac5062930788f8b4bc.zip
tools: bpf_jit_disasm: Add option to dump JIT image to a file.
When debugging the JIT on an embedded platform or cross build environment, libbfd may not be available, making it impossible to run bpf_jit_disasm natively. Add an option to emit a binary image of the JIT code to a file. This file can then be disassembled off line. Typical usage in this case might be (pasting mips64 dmesg output to cat command): $ cat > jit.raw $ bpf_jit_disasm -f jit.raw -O jit.bin $ mips64-linux-gnu-objdump -D -b binary -m mips:isa64r2 -EB jit.bin Signed-off-by: David Daney <david.daney@cavium.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions