diff options
author | Helge Deller <deller@gmx.de> | 2016-03-19 17:54:10 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-03-23 15:44:34 +0100 |
commit | 6c31da3464b4d28825d1827ee41a3a217b2dcf0e (patch) | |
tree | 6d001021e7a1cdcc6e07e59e9d311720370d4fef /lib | |
parent | parisc: Drop alloc_hugepages and free_hugepages syscalls (diff) | |
download | linux-6c31da3464b4d28825d1827ee41a3a217b2dcf0e.tar.xz linux-6c31da3464b4d28825d1827ee41a3a217b2dcf0e.zip |
parisc,metag: Implement CONFIG_DEBUG_STACK_USAGE option
On parisc and metag the stack grows upwards, so for those we need to
scan the stack downwards in order to calculate how much stack a process
has used.
Tested on a 64bit parisc kernel.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 532d4d52d1df..1e9a607534ca 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -558,7 +558,7 @@ config DEBUG_KMEMLEAK_DEFAULT_OFF config DEBUG_STACK_USAGE bool "Stack utilization instrumentation" - depends on DEBUG_KERNEL && !IA64 && !PARISC && !METAG + depends on DEBUG_KERNEL && !IA64 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. |