This adds both the CONFIG_DEBUG_INFO_BTF and CONFIG_DEBUG_INFO_BTF_MODULES
kernel compile option to output of the bpftool feature command.
This is relevant for developers that want to account for data structure
definition differences between kernels.
Signed-off-by: Grant Seltzer <redacted>
---
tools/bpf/bpftool/feature.c | 4 ++++
1 file changed, 4 insertions(+)
From: Martin KaFai Lau <hidden> Date: 2021-02-22 22:01:56
On Mon, Feb 22, 2021 at 07:58:46PM +0000, grantseltzer wrote:
This adds both the CONFIG_DEBUG_INFO_BTF and CONFIG_DEBUG_INFO_BTF_MODULES
kernel compile option to output of the bpftool feature command.
This is relevant for developers that want to account for data structure
definition differences between kernels.
Acked-by: Martin KaFai Lau <redacted>
[ Acked-by and Reviewed-by can be carried over to
the following revisions if the change is obvious.
Also, it is useful to comment on what has
changed between revisions. There is no need
to resend this patch just for this though. ]
On Mon, Feb 22, 2021 at 11:59 AM grantseltzer [off-list ref] wrote:
This adds both the CONFIG_DEBUG_INFO_BTF and CONFIG_DEBUG_INFO_BTF_MODULES
kernel compile option to output of the bpftool feature command.
This is relevant for developers that want to account for data structure
definition differences between kernels.
Signed-off-by: Grant Seltzer <redacted>
---
Applied to bpf-next, but adjusted subject to shorter:
"Add kernel/modules BTF presence checks to bpftool feature command"
Hello:
This patch was applied to bpf/bpf-next.git (refs/heads/master):
On Mon, 22 Feb 2021 19:58:46 +0000 you wrote:
This adds both the CONFIG_DEBUG_INFO_BTF and CONFIG_DEBUG_INFO_BTF_MODULES
kernel compile option to output of the bpftool feature command.
This is relevant for developers that want to account for data structure
definition differences between kernels.
Signed-off-by: Grant Seltzer <redacted>
[...]