]> git.baikalelectronics.ru Git - kernel.git/commit
tools: bpftool: new command-line option and documentation for 'visual'
authorJiong Wang <jiong.wang@netronome.com>
Fri, 2 Mar 2018 02:01:22 +0000 (18:01 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 2 Mar 2018 02:29:49 +0000 (18:29 -0800)
commit22fb03c7bc099dc99bef051a78ac0d02ef9038cd
treeab0563997516af5ad94d5d79fd3f48e916a51d52
parent1782dac4d14f7d0aacb6d58708143a907ce15d80
tools: bpftool: new command-line option and documentation for 'visual'

This patch adds new command-line option for visualizing the xlated eBPF
sequence.

Documentations are updated accordingly.

Usage:

  bpftool prog dump xlated id 2 visual

Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/bpf/bpftool/Documentation/bpftool-prog.rst
tools/bpf/bpftool/prog.c