Re: [PATCH] add CONFIG_DEBUG_INFO_BTF check to bpftool feature command
From: Martin KaFai Lau <hidden>
Date: 2021-02-19 22:37:58
From: Martin KaFai Lau <hidden>
Date: 2021-02-19 22:37:58
There is no description. Please provide a commit message. On Fri, Feb 19, 2021 at 10:21:35PM +0000, grantseltzer wrote:
Signed-off-by: grantseltzer <redacted> --- tools/bpf/bpftool/feature.c | 2 ++ 1 file changed, 2 insertions(+)diff --git a/tools/bpf/bpftool/feature.c b/tools/bpf/bpftool/feature.c index 359960a8f..34343e7fa 100644 --- a/tools/bpf/bpftool/feature.c +++ b/tools/bpf/bpftool/feature.c@@ -336,6 +336,8 @@ static void probe_kernel_image_config(const char *define_prefix) { "CONFIG_BPF_JIT", }, /* Avoid compiling eBPF interpreter (use JIT only) */ { "CONFIG_BPF_JIT_ALWAYS_ON", }, + /* Enable using BTF debug information */ + { "CONFIG_DEBUG_INFO_BTF", }, /* cgroups */ { "CONFIG_CGROUPS", },-- 2.29.2