projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff0e9a5
)
bpftool: Update the bash completion(add autoattach to prog load)
author
Wang Yufen
<wangyufen@huawei.com>
Fri, 14 Oct 2022 08:31:15 +0000
(16:31 +0800)
committer
Alexei Starovoitov
<ast@kernel.org>
Fri, 21 Oct 2022 15:59:00 +0000
(08:59 -0700)
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>
tools/bpf/bpftool/bash-completion/bpftool
patch
|
blob
|
history
diff --git
a/tools/bpf/bpftool/bash-completion/bpftool
b/tools/bpf/bpftool/bash-completion/bpftool
index
dc1641e
..
2957b42
100644
(file)
--- 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