aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nios2/Kconfig.debug
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2014-11-06 15:20:19 +0800
committerLey Foon Tan <lftan@altera.com>2014-12-08 12:56:06 +0800
commit2fc8483fdcde767795402a38a53e647811dc9abf (patch)
tree01c734b5191c6ddd5c095fb2a08494720b06f817 /arch/nios2/Kconfig.debug
parentDocumentation: Add documentation for Nios2 architecture (diff)
downloadlinux-dev-2fc8483fdcde767795402a38a53e647811dc9abf.tar.xz
linux-dev-2fc8483fdcde767795402a38a53e647811dc9abf.zip
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