Update of /cvsroot/linuxsh/linux/arch/sh
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv16840/arch/sh
Modified Files:
Kconfig.debug
Log Message:
Stack debugging support, based on ST's old patch.
Index: Kconfig.debug
===================================================================
RCS file: /cvsroot/linuxsh/linux/arch/sh/Kconfig.debug,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Kconfig.debug 30 Jan 2006 16:05:57 -0000 1.4
+++ Kconfig.debug 8 Aug 2006 03:07:13 -0000 1.5
@@ -30,6 +30,21 @@
when the kernel may crash or hang before the serial console is
initialised. If unsure, say N.
+config DEBUG_STACKOVERFLOW
+ bool "Check for stack overflows"
+ depends on DEBUG_KERNEL
+ help
+ This option will cause messages to be printed if free stack space drops below a certain limit.
+
+config DEBUG_STACK_USAGE
+ bool "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.
+
config KGDB
bool "Include KGDB kernel debugger"
select FRAME_POINTER
|