From a4c70d3778349a216e6d0a3de6d371944d06d05f Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Mon, 13 Apr 2015 16:28:13 +1000 Subject: linux/configs: Add config fragment for debugging and verification * This fragment should not be used for production or general use and is intended only for debugging and verification purposes Signed-off-by: Nathan Rossi --- .../config/xilinx-common/features/debug/debug.cfg | 20 ++++++++++++++++++++ .../config/xilinx-common/features/debug/debug.scc | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg create mode 100644 recipes-kernel/linux/config/xilinx-common/features/debug/debug.scc diff --git a/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg b/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg new file mode 100644 index 00000000..e4727976 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg @@ -0,0 +1,20 @@ +# This config fragment is for verification and debug purposes + +CONFIG_DEBUG_INFO=y + +CONFIG_DEBUG_SPINLOCK=y +CONFIG_DEBUG_RT_MUTEXES=y +CONFIG_DEBUG_MUTEXES=y +CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y +CONFIG_PROVE_LOCKING=y +CONFIG_DEBUG_LOCKDEP=y +CONFIG_DEBUG_LOCKING_API_SELFTESTS=y +# CONFIG_LOCK_TORTURE_TEST not test + +CONFIG_PROVE_RCU=y +CONFIG_PROVE_RCU_REPEATEDLY=y +CONFIG_SPARSE_RCU_POINTER=y +# /proc/sys/kernel/rcutorture_runnable +# CONFIG_RCU_TORTURE_TEST not set +CONFIG_RCU_CPU_STALL_INFO=y + diff --git a/recipes-kernel/linux/config/xilinx-common/features/debug/debug.scc b/recipes-kernel/linux/config/xilinx-common/features/debug/debug.scc new file mode 100644 index 00000000..2a09b4f2 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/features/debug/debug.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Debugging Setup" +define KFEATURE_COMPATIBILITY board + +kconfig hardware debug.cfg -- cgit v1.2.3-54-g00ecf