This adds the CONFIG_DEBUG_INFO_BTF kernel compile option to output of
the bpftool feature command. This is relevant for developers that want
to use libbpf to account for data structure definition differences
between kernels.
Signed-off-by: grantseltzer <redacted>
---
tools/bpf/bpftool/feature.c | 2 ++
1 file changed, 2 insertions(+)
This adds the CONFIG_DEBUG_INFO_BTF kernel compile option to output of
the bpftool feature command. This is relevant for developers that want
to use libbpf to account for data structure definition differences
between kernels.
Signed-off-by: grantseltzer <redacted>
---
tools/bpf/bpftool/feature.c | 2 ++
1 file changed, 2 insertions(+)
Thanks for the change!
Reviewed-by: Quentin Monnet <redacted>
(Note: the date of the email is not correct, but I discussed offline
with Grant and this is now sorted out for future submissions.)
Quentin
From: Martin KaFai Lau <hidden> Date: 2021-02-22 19:08:50
On Sat, Feb 20, 2021 at 05:13:07PM +0000, grantseltzer wrote:
This adds the CONFIG_DEBUG_INFO_BTF kernel compile option to output of
the bpftool feature command. This is relevant for developers that want
to use libbpf to account for data structure definition differences
between kernels.
On Mon, Feb 22, 2021 at 7:34 AM grantseltzer [off-list ref] wrote:
This adds the CONFIG_DEBUG_INFO_BTF kernel compile option to output of
the bpftool feature command. This is relevant for developers that want
to use libbpf to account for data structure definition differences
between kernels.
Signed-off-by: grantseltzer <redacted>
Signed-off-by should have a properly capitalized (where it makes
sense) real name of the author. Is it Grant Seltzer then?
From: Grant Seltzer Richman <hidden> Date: 2021-02-22 20:06:45
I submitted a new patch that includes CONFIG_DEBUG_INFO_BTF_MODULES. I
renamed the patch to include this change so it's showing up as a new
thread, I also fixed the time issue, apologies for the confusion!
On Mon, Feb 22, 2021 at 2:22 PM Andrii Nakryiko
[off-list ref] wrote:
On Mon, Feb 22, 2021 at 7:34 AM grantseltzer [off-list ref] wrote:
quoted
This adds the CONFIG_DEBUG_INFO_BTF kernel compile option to output of
the bpftool feature command. This is relevant for developers that want
to use libbpf to account for data structure definition differences
between kernels.
Signed-off-by: grantseltzer <redacted>
Signed-off-by should have a properly capitalized (where it makes
sense) real name of the author. Is it Grant Seltzer then?