diff options
Diffstat (limited to 'arch/um/Kconfig.debug')
-rw-r--r-- | arch/um/Kconfig.debug | 9 |
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 | ||
50 | config 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. | ||
50 | endmenu | 59 | endmenu |