Nov. 16, 2018
4:46 p.m.
On Fri, 16 Nov 2018 20:10:28 +0530, Pintu Agarwal said:
Look at the code controlled by '#ifdef CONFIG_DEBUG_STACK_USAGE'
For example: is it possible to keep storing the irq_stack_usage (for each cpu in a variable) information from boot time, and then use this variable to dump the irq_stack information, after the system booted, may be from proc entry ?
Congrats. You just re-invented DEBUG_STACK_USAGE, which just keeps a high-water mark for stack usage.