[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1663037687-26006-3-git-send-email-wangyufen@huawei.com>
Date: Tue, 13 Sep 2022 10:54:47 +0800
From: Wang Yufen <wangyufen@...wei.com>
To: <quentin@...valent.com>, <ast@...nel.org>, <daniel@...earbox.net>,
<andrii@...nel.org>, <martin.lau@...ux.dev>, <song@...nel.org>,
<yhs@...com>, <john.fastabend@...il.com>, <kpsingh@...nel.org>,
<sdf@...gle.com>, <haoluo@...gle.com>, <jolsa@...nel.org>,
<davem@...emloft.net>, <kuba@...nel.org>, <hawk@...nel.org>,
<nathan@...nel.org>, <ndesaulniers@...gle.com>, <trix@...hat.com>
CC: <bpf@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>, <llvm@...ts.linux.dev>
Subject: [bpf-next v4 3/3] bpftool: Update the bash completion(add auto_attach to prog load)
Add auto_attach optional to prog load|loadall for supporting
one-step load-attach-pin_link.
Signed-off-by: Wang Yufen <wangyufen@...wei.com>
---
tools/bpf/bpftool/bash-completion/bpftool | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/bpf/bpftool/bash-completion/bpftool b/tools/bpf/bpftool/bash-completion/bpftool
index dc1641e..3f6f4f9 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 'auto_attach'
return 0
;;
esac
--
1.8.3.1
Powered by blists - more mailing lists