summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-04-13 16:28:13 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-04-14 14:00:46 +1000
commita4c70d3778349a216e6d0a3de6d371944d06d05f (patch)
tree4931afe40e80316a2f0d8a42b934bf4addd31168
parentb43630ac75fe2cb9453c534ac5b4868b4ec96ca0 (diff)
downloadmeta-xilinx-a4c70d3778349a216e6d0a3de6d371944d06d05f.tar.gz
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 <nathan.rossi@xilinx.com>
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg20
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/debug/debug.scc4
2 files changed, 24 insertions, 0 deletions
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 @@
1# This config fragment is for verification and debug purposes
2
3CONFIG_DEBUG_INFO=y
4
5CONFIG_DEBUG_SPINLOCK=y
6CONFIG_DEBUG_RT_MUTEXES=y
7CONFIG_DEBUG_MUTEXES=y
8CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y
9CONFIG_PROVE_LOCKING=y
10CONFIG_DEBUG_LOCKDEP=y
11CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
12# CONFIG_LOCK_TORTURE_TEST not test
13
14CONFIG_PROVE_RCU=y
15CONFIG_PROVE_RCU_REPEATEDLY=y
16CONFIG_SPARSE_RCU_POINTER=y
17# /proc/sys/kernel/rcutorture_runnable
18# CONFIG_RCU_TORTURE_TEST not set
19CONFIG_RCU_CPU_STALL_INFO=y
20
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 @@
1define KFEATURE_DESCRIPTION "Debugging Setup"
2define KFEATURE_COMPATIBILITY board
3
4kconfig hardware debug.cfg