aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/Kconfig.debug
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-07-16 02:38:48 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 12:05:38 -0400
commite18eecb8b35703a5eea73ee2b45324262029e62c (patch)
tree8c276ae6633b8116ca366274091b00491fd50bbe /arch/um/Kconfig.debug
parent84812217e395f5272eac36856c0a2415d61fe139 (diff)
Add generic exit-time stack-depth checking to CONFIG_DEBUG_STACK_USAGE
Add generic exit-time stack-depth checking to CONFIG_DEBUG_STACK_USAGE. This also adds UML support. Tested on UML and i386. [akpm@linux-foundation.org: cleanups, speedups, tweaks] Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/Kconfig.debug')
-rw-r--r--arch/um/Kconfig.debug9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug
index 09c1aca6339f..c86f5eb29fd5 100644
--- a/arch/um/Kconfig.debug
+++ b/arch/um/Kconfig.debug
@@ -47,4 +47,13 @@ config GCOV
47 If you're involved in UML kernel development and want to use gcov, 47 If you're involved in UML kernel development and want to use gcov,
48 say Y. If you're unsure, say N. 48 say Y. If you're unsure, say N.
49 49
50config DEBUG_STACK_USAGE
51 bool "Stack utilization instrumentation"
52 default N
53 help
54 Track the maximum kernel stack usage - this will look at each
55 kernel stack at process exit and log it if it's the deepest
56 stack seen so far.
57
58 This option will slow down process creation and destruction somewhat.
50endmenu 59endmenu