Re: [ARM64] Printing IRQ stack usage information

From: valdis . kletnieks
Date: Fri Nov 16 2018 - 11:46:29 EST


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.

Attachment: pgpBMkF3GK8_q.pgp
Description: PGP signature