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)
commitb6c1cedb4935a99d315827b990b23230b0eb13f5
treeab0563997516af5ad94d5d79fd3f48e916a51d52
parentefcef17a6d6575dacca22bce69e139354c5a2170
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