[f/kvm][PATCH 1/2] UBUNTU: [config] kvm: CONFIG_DEBUG_INFO=y

Kelsey Skunberg kelsey.skunberg at canonical.com
Mon Sep 20 19:54:22 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1935855

Turn on debug_info so kernel contains debug symbols. Additional configs
required when adding CONFIG_DEBUG_INFO=y.

Signed-off-by: Kelsey Skunberg <kelsey.skunberg at canonical.com>
---
 debian.kvm/config/config.common.ubuntu | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index 70f2964264ce..774e6eeda39a 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -574,7 +574,11 @@ CONFIG_DEBUG_BUGVERBOSE=y
 # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
 CONFIG_DEBUG_FS=y
 # CONFIG_DEBUG_HOTPLUG_CPU0 is not set
-# CONFIG_DEBUG_INFO is not set
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_INFO_BTF is not set
+CONFIG_DEBUG_INFO_DWARF4=y
+# CONFIG_DEBUG_INFO_REDUCED is not set
+# CONFIG_DEBUG_INFO_SPLIT is not set
 CONFIG_DEBUG_KERNEL=y
 # CONFIG_DEBUG_KMEMLEAK is not set
 # CONFIG_DEBUG_KOBJECT is not set
@@ -847,6 +851,7 @@ CONFIG_GARP=m
 # CONFIG_GART_IOMMU is not set
 CONFIG_GCC_VERSION=90300
 # CONFIG_GCOV_KERNEL is not set
+CONFIG_GDB_SCRIPTS=y
 CONFIG_GENERIC_BUG=y
 CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
 CONFIG_GENERIC_CALIBRATE_DELAY=y
-- 
2.25.1




More information about the kernel-team mailing list