diff options
author | Wang Yufen <wangyufen@huawei.com> | 2022-10-14 10:31:15 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-10-21 17:59:00 +0200 |
commit | b81a677400755cf24c971d1342c4c53d81744d82 (patch) | |
tree | 8d5115bda73ae059ec3ea18873d3b86f9a1ba9df | |
parent | bpftool: Update doc (add autoattach to prog load) (diff) | |
download | linux-b81a677400755cf24c971d1342c4c53d81744d82.tar.xz linux-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>
-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 |