Stack utilization instrumentation
configname: CONFIG_DEBUG_STACK_USAGE
Linux Kernel Configuration
└─>Kernel hacking
└─>Memory Debugging
└─>Stack utilization instrumentation
In linux kernel since version 2.6.12
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.
Also emits a message to dmesg when a process exits if that process
used more stack space than previously exiting processes.
This option will slow down process creation somewhat.
task has ever had available in the sysrq-T and sysrq-P debug output.
Also emits a message to dmesg when a process exits if that process
used more stack space than previously exiting processes.
This option will slow down process creation somewhat.