tools: bpftool: use the kernel's instruction printer
authorJakub Kicinski <[email protected]>
Mon, 9 Oct 2017 17:30:13 +0000 (10:30 -0700)
committerDavid S. Miller <[email protected]>
Tue, 10 Oct 2017 19:30:16 +0000 (12:30 -0700)
commitc9c35995bcf812ee8136f634c25bc6ccc3021d4c
treea27745367592357b7ff46ac3253d989f5a3e8129
parentf4ac7e0b5cc8d16004ac57ff679266d573f30f77
tools: bpftool: use the kernel's instruction printer

Compile the instruction printer from kernel/bpf and use it
for disassembling "translated" eBPF code.

Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
tools/bpf/bpftool/Documentation/bpftool-prog.rst
tools/bpf/bpftool/Makefile
tools/bpf/bpftool/main.h
tools/bpf/bpftool/prog.c