[meta-lsi] [PATCH 15/22] linux-yocto-3.14: add debug options in config fragments

Daniel Dragomir daniel.dragomir at windriver.com
Thu Jan 28 04:57:06 PST 2016


From: Cristian Bercaru <cristian.bercaru at windriver.com>

Signed-off-by: Cristian Bercaru <cristian.bercaru at windriver.com>
---
 .../linux-3.14/axxiaarm/common/common.scc          |  2 ++
 .../axxiapowerpc/common/common-non-hw.cfg          |  1 -
 .../axxiapowerpc/standard/dbg-non-hw.cfg           | 32 ++++++++++++++++++++--
 3 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiaarm/common/common.scc b/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiaarm/common/common.scc
index 84a7420..87d143b 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiaarm/common/common.scc
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-3.14/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-3.14/axxiapowerpc/common/common-non-hw.cfg b/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiapowerpc/common/common-non-hw.cfg
index 377fe05..87d3b3d 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiapowerpc/common/common-non-hw.cfg
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiapowerpc/common/common-non-hw.cfg
@@ -15,7 +15,6 @@
 # General setup
 #
 CONFIG_CROSS_COMPILE="powerpc-linux-"
-CONFIG_LOCALVERSION_AUTO=y
 # CONFIG_FHANDLE is not set
 
 #
diff --git a/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiapowerpc/standard/dbg-non-hw.cfg b/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiapowerpc/standard/dbg-non-hw.cfg
index 299d622..08386e6 100644
--- a/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiapowerpc/standard/dbg-non-hw.cfg
+++ b/recipes-kernel/linux/conf/linux-yocto/linux-3.14/axxiapowerpc/standard/dbg-non-hw.cfg
@@ -12,6 +12,18 @@
 #.........................................................................
 
 #
+# Kernel Performance Events And Counters
+#
+CONFIG_SLUB_DEBUG=y
+# CONFIG_OPROFILE is not set
+
+#
+# Kernel options
+#
+# CONFIG_HIGHMEM is not set
+CONFIG_MTD_NAND_EP501X_UBOOTENV=y
+
+#
 # Memory Debugging
 #
 CONFIG_DEBUG_PAGEALLOC=y
@@ -22,6 +34,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
@@ -30,13 +43,12 @@ CONFIG_DEBUG_VM=y
 CONFIG_DEBUG_VM_RB=y
 CONFIG_DEBUG_MEMORY_INIT=y
 CONFIG_DEBUG_PER_CPU_MAPS=y
-CONFIG_DEBUG_HIGHMEM=y
-CONFIG_DEBUG_STACKOVERFLOW=y
 
 #
 # Debug Lockups and Hangs
 #
 CONFIG_LOCKUP_DETECTOR=y
+# CONFIG_DETECT_HUNG_TASK is not set
 CONFIG_SCHEDSTATS=y
 CONFIG_TIMER_STATS=y
 
@@ -44,6 +56,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_WRITECOUNT=y
+CONFIG_DEBUG_LIST=y
+CONFIG_DEBUG_SG=y
+CONFIG_DEBUG_NOTIFIERS=y
+CONFIG_DEBUG_CREDENTIALS=y
+
+#
+# RCU Debugging
+#
+CONFIG_SPARSE_RCU_POINTER=y
+CONFIG_RCU_CPU_STALL_INFO=y
+CONFIG_RCU_TRACE=y
-- 
1.9.1



More information about the meta-lsi mailing list