diff options
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/Kconfig.debug | 9 | ||||
-rw-r--r-- | arch/um/defconfig | 1 |
2 files changed, 10 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 |
diff --git a/arch/um/defconfig b/arch/um/defconfig index a54d0efecae1..e5b2df9e12de 100644 --- a/arch/um/defconfig +++ b/arch/um/defconfig | |||
@@ -527,3 +527,4 @@ CONFIG_FORCED_INLINING=y | |||
527 | # CONFIG_RCU_TORTURE_TEST is not set | 527 | # CONFIG_RCU_TORTURE_TEST is not set |
528 | # CONFIG_GPROF is not set | 528 | # CONFIG_GPROF is not set |
529 | # CONFIG_GCOV is not set | 529 | # CONFIG_GCOV is not set |
530 | # CONFIG_DEBUG_STACK_USAGE is not set | ||