]> git.baikalelectronics.ru Git - kernel.git/commit
tools: bpftool: add bash completion for CFG dump
authorQuentin Monnet <quentin.monnet@netronome.com>
Fri, 2 Mar 2018 02:01:23 +0000 (18:01 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 2 Mar 2018 02:29:49 +0000 (18:29 -0800)
commit056d6e710cd8ae3869d88cede941963b84039be0
treec9d40bc77d803eeea1d26b3e8a6c78467606a704
parent22fb03c7bc099dc99bef051a78ac0d02ef9038cd
tools: bpftool: add bash completion for CFG dump

Add bash completion for the "visual" keyword used for dumping the CFG of
eBPF programs with bpftool. Make sure we only complete with this keyword
when we dump "xlated" (and not "jited") instructions.

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