summaryrefslogtreecommitdiff
path: root/arch/nios2/Kconfig.debug
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2014-11-06 10:20:19 +0300
committerLey Foon Tan <lftan@altera.com>2014-12-08 07:56:06 +0300
commit2fc8483fdcde767795402a38a53e647811dc9abf (patch)
tree01c734b5191c6ddd5c095fb2a08494720b06f817 /arch/nios2/Kconfig.debug
parent9cce02ec7146248862ba63a41bf8eb32d9e4fb63 (diff)
downloadlinux-2fc8483fdcde767795402a38a53e647811dc9abf.tar.xz
nios2: Build infrastructure
This patch adds Makefile and Kconfig files required for building a nios2 kernel. Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/Kconfig.debug')
-rw-r--r--arch/nios2/Kconfig.debug17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/nios2/Kconfig.debug b/arch/nios2/Kconfig.debug
new file mode 100644
index 000000000000..8d4e6bacd997
--- /dev/null
+++ b/arch/nios2/Kconfig.debug
@@ -0,0 +1,17 @@
+menu "Kernel hacking"
+
+config TRACE_IRQFLAGS_SUPPORT
+ def_bool y
+
+source "lib/Kconfig.debug"
+
+config DEBUG_STACK_USAGE
+ bool "Enable stack utilization instrumentation"
+ depends on DEBUG_KERNEL
+ help
+ Enables the display of the minimum amount of free stack which each
+ task has ever had available in the sysrq-T and sysrq-P debug output.
+
+ This option will slow down process creation somewhat.
+
+endmenu