]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - lib/Kconfig.debug
kbuild: add ability to generate BTF type info for vmlinux
[thirdparty/linux.git] / lib / Kconfig.debug
index 0d9e81779e373745c3e28497df424b415a50c3ac..188fc17c22022d8a67fe51fb0f673b6156e69d28 100644 (file)
@@ -219,6 +219,14 @@ config DEBUG_INFO_DWARF4
          But it significantly improves the success of resolving
          variables in gdb on optimized code.
 
+config DEBUG_INFO_BTF
+       bool "Generate BTF typeinfo"
+       depends on DEBUG_INFO
+       help
+         Generate deduplicated BTF type 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.
+
 config GDB_SCRIPTS
        bool "Provide GDB scripts for kernel debugging"
        depends on DEBUG_INFO