diff options
author | Wang Yufen <wangyufen@huawei.com> | 2022-10-14 16:31:15 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-10-21 08:59:00 -0700 |
commit | b81a677400755cf24c971d1342c4c53d81744d82 (patch) | |
tree | 8d5115bda73ae059ec3ea18873d3b86f9a1ba9df /tools/bpf | |
parent | ff0e9a579ec9f12cb4fec9bd94b15e3d613a1a77 (diff) | |
download | linux-rpi-b81a677400755cf24c971d1342c4c53d81744d82.tar.gz linux-rpi-b81a677400755cf24c971d1342c4c53d81744d82.tar.bz2 linux-rpi-b81a677400755cf24c971d1342c4c53d81744d82.zip |
bpftool: Update the bash completion(add autoattach to prog load)
Add autoattach optional to prog load|loadall for supporting
one-step load-attach-pin_link.
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Link: https://lore.kernel.org/r/1665736275-28143-4-git-send-email-wangyufen@huawei.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf')
-rw-r--r-- | tools/bpf/bpftool/bash-completion/bpftool | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bpf/bpftool/bash-completion/bpftool b/tools/bpf/bpftool/bash-completion/bpftool index dc1641e3670e..2957b42cab67 100644 --- a/tools/bpf/bpftool/bash-completion/bpftool +++ b/tools/bpf/bpftool/bash-completion/bpftool @@ -505,6 +505,7 @@ _bpftool() _bpftool_once_attr 'type' _bpftool_once_attr 'dev' _bpftool_once_attr 'pinmaps' + _bpftool_once_attr 'autoattach' return 0 ;; esac |