The help information is not added when the function is added.
Add the missing help information.
Fixes: db94cc0b4805 ("bpftool: Add support for BPF_CGROUP_INET_SOCK_RELEASE")
Signed-off-by: Liu Jian <redacted>
---
v1 -> v2:
Add changelog text.
tools/bpf/bpftool/cgroup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2021-05-24 16:03 UTC+0800 ~ Liu Jian [off-list ref]
quoted hunk
The help information is not added when the function is added.
Add the missing help information.
Fixes: db94cc0b4805 ("bpftool: Add support for BPF_CGROUP_INET_SOCK_RELEASE")
Signed-off-by: Liu Jian <redacted>
---
v1 -> v2:
Add changelog text.
tools/bpf/bpftool/cgroup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Thanks a lot!
Note that there are a few other places in bpftool where the attach point
should be added, would you mind updating them too? That would be: the
documentation page for bpftool-cgroup, the one for bpftool-prog, the
help message in prog.c, and the bash completion. It should all be
straightforward. You can try something like "grep recvmsg4
tools/bpf/bpftool" to find the relevant locations.
Best regards,
Quentin
-----Original Message-----
From: Quentin Monnet [mailto:quentin@isovalent.com]
Sent: Monday, May 24, 2021 4:23 PM
To: liujian (CE) <redacted>; ast@kernel.org;
daniel@iogearbox.net; andrii@kernel.org; kafai@fb.com;
songliubraving@fb.com; yhs@fb.com; john.fastabend@gmail.com;
kpsingh@kernel.org; sdf@google.com; netdev@vger.kernel.org;
bpf@vger.kernel.org
Subject: Re: [PATCH v2] bpftool: Add sock_release help info for cgroup
attach command
2021-05-24 16:03 UTC+0800 ~ Liu Jian [off-list ref]
quoted
The help information is not added when the function is added.
Add the missing help information.
Fixes: db94cc0b4805 ("bpftool: Add support for
BPF_CGROUP_INET_SOCK_RELEASE")
Signed-off-by: Liu Jian <redacted>
---
v1 -> v2:
Add changelog text.
tools/bpf/bpftool/cgroup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Thanks a lot!
Note that there are a few other places in bpftool where the attach point
should be added, would you mind updating them too? That would be: the
documentation page for bpftool-cgroup, the one for bpftool-prog, the help
message in prog.c, and the bash completion. It should all be straightforward.
You can try something like "grep recvmsg4 tools/bpf/bpftool" to find the
relevant locations.
OK, I'll change it together. Thanks for your review.