aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sgi.com>2006-06-26 08:00:08 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 13:48:22 -0400
commit8501a2fbe762b21d2504ed3aca3b52be61b5e6e4 (patch)
tree899bf4085bb29927a71dd90b3ed1fb444ed4b0ea /arch/x86_64
parent4961f10e2205d0ededa291e12ec634efc58aa93c (diff)
[PATCH] x86_64: x86_64 stack usage debugging
Applies to git & 2.6.17-rc6 after CONFIG_DEBUG_STACKOVERFLOW patch uses same stack-zeroing mechanism as on i386 to discover maximum stack excursions. Signed-off-by: Eric Sandeen <sandeen@sgi.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/Kconfig.debug9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86_64/Kconfig.debug b/arch/x86_64/Kconfig.debug
index 087a04868b25..1d92ab56c0f9 100644
--- a/arch/x86_64/Kconfig.debug
+++ b/arch/x86_64/Kconfig.debug
@@ -42,6 +42,15 @@ config DEBUG_STACKOVERFLOW
42 This option will cause messages to be printed if free stack space 42 This option will cause messages to be printed if free stack space
43 drops below a certain limit. 43 drops below a certain limit.
44 44
45config DEBUG_STACK_USAGE
46 bool "Stack utilization instrumentation"
47 depends on DEBUG_KERNEL
48 help
49 Enables the display of the minimum amount of free stack which each
50 task has ever had available in the sysrq-T and sysrq-P debug output.
51
52 This option will slow down process creation somewhat.
53
45#config X86_REMOTE_DEBUG 54#config X86_REMOTE_DEBUG
46# bool "kgdb debugging stub" 55# bool "kgdb debugging stub"
47 56