aboutsummaryrefslogtreecommitdiffstats
path: root/config/Config-kernel.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/Config-kernel.in')
-rw-r--r--config/Config-kernel.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index e146107148..1a3f6a8bdc 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -373,6 +373,20 @@ config KERNEL_DEBUG_INFO
help
This will compile your kernel and modules with debug information.
+config KERNEL_DEBUG_INFO_BTF
+
+ bool "Enable additional BTF type information"
+ default n
+ depends on !HOST_OS_MACOS
+ depends on KERNEL_DEBUG_INFO && !KERNEL_DEBUG_INFO_REDUCED
+ select DWARVES
+ help
+ Generate BPF Type Format (BTF) information from DWARF debug info.
+ Turning this on expects presence of pahole tool, which will convert
+ DWARF type info into equivalent deduplicated BTF type info.
+
+ Required to run BPF CO-RE applications.
+
config KERNEL_DEBUG_INFO_REDUCED
bool "Reduce debugging information"
default y