[meta-lsi] [PATCH 11/22] linux-yocto-4.1: add debug options in config fragments
Daniel Dragomir
daniel.dragomir at windriver.com
Thu Jan 28 04:57:02 PST 2016
From: Cristian Bercaru <cristian.bercaru at windriver.com>
Signed-off-by: Cristian Bercaru <cristian.bercaru at windriver.com>
---
.../linux-4.1/axxiaarm/common/common-non-hw.cfg | 1 -
.../linux-yocto/linux-4.1/axxiaarm/common/common.scc | 2 ++
.../linux-4.1/axxiaarm/common/dbg-non-hw.cfg | 18 +++++++++++++++++-
.../linux-4.1/axxiaarm64/common/common-hw.cfg | 5 +++++
.../linux-yocto/linux-4.1/axxiaarm64/common/common.scc | 2 ++
5 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-non-hw.cfg b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-non-hw.cfg
index 0f8a069..778857c 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-non-hw.cfg
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common-non-hw.cfg
@@ -14,7 +14,6 @@
#
# General setup
#
-CONFIG_LOCALVERSION_AUTO=y
CONFIG_AUDIT=y
#
diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common.scc b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common.scc
index 84a7420..87d143b 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common.scc
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/common.scc
@@ -1,2 +1,4 @@
+include features/taskstats/taskstats.scc
+
kconf non-hardware common-non-hw.cfg
kconf hardware common-hw.cfg
diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/dbg-non-hw.cfg b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/dbg-non-hw.cfg
index a52ebbe..71a4503 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/dbg-non-hw.cfg
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm/common/dbg-non-hw.cfg
@@ -22,6 +22,7 @@ CONFIG_DEBUG_OBJECTS_TIMERS=y
CONFIG_DEBUG_OBJECTS_WORK=y
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y
+CONFIG_SLUB_DEBUG_ON=y
CONFIG_SLUB_STATS=y
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y
@@ -31,6 +32,7 @@ CONFIG_DEBUG_VM_RB=y
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_DEBUG_PER_CPU_MAPS=y
CONFIG_DEBUG_HIGHMEM=y
+CONFIG_DEBUG_SHIRQ=y
#
# Debug Lockups and Hangs
@@ -44,6 +46,20 @@ CONFIG_TIMER_STATS=y
# Lock Debugging
#
CONFIG_DEBUG_RT_MUTEXES=y
-CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y
+CONFIG_PROVE_LOCKING=y
CONFIG_LOCK_STAT=y
+CONFIG_DEBUG_LOCKDEP=y
CONFIG_DEBUG_ATOMIC_SLEEP=y
+CONFIG_DEBUG_KOBJECT=y
+CONFIG_DEBUG_LIST=y
+CONFIG_DEBUG_SG=y
+CONFIG_DEBUG_NOTIFIERS=y
+CONFIG_DEBUG_CREDENTIALS=y
+
+#
+# RCU Debugging
+#
+CONFIG_PROVE_RCU=y
+CONFIG_SPARSE_RCU_POINTER=y
+CONFIG_RCU_CPU_STALL_INFO=y
+CONFIG_RCU_TRACE=y
diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/common-hw.cfg b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/common-hw.cfg
index c1ed724..20a8639 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/common-hw.cfg
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/common-hw.cfg
@@ -44,3 +44,8 @@ CONFIG_HID_KENSINGTON=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
+
+#
+# Virtio drivers
+#
+# CONFIG_VIRTIO_PCI is not set
diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/common.scc b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/common.scc
index 84a7420..87d143b 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/common.scc
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-4.1/axxiaarm64/common/common.scc
@@ -1,2 +1,4 @@
+include features/taskstats/taskstats.scc
+
kconf non-hardware common-non-hw.cfg
kconf hardware common-hw.cfg
--
1.9.1
More information about the meta-lsi
mailing list