Re: How to print stack uses of IRQ in ARM64

From: Andy Shevchenko
Date: Tue Jun 05 2018 - 09:12:47 EST


If you would like to get an answer in a reasonable time it might make
sense to Cc: people related to a subject.
I Cc:ed Marc here with hope he is a guy for the topic.

On Thu, May 31, 2018 at 1:01 PM, Vishnu Motghare
<vishnumotghare@xxxxxxxxx> wrote:
> I found this discussion (https://lwn.net/Articles/657969/) regarding
> implementation of separate IRQ stack for ARM64.
>
> My understanding is each CPU getting its own IRQ stack. So is it
> possible to print the stack uses of each IRQ handler? like, How much
> stack is used & how much left free ?
>
> like in process context we have API like stack_not_used(struct
> task_struct *p) to get the unused stack of processes. So, is it
> possible to get the similar result for IRQ?



--
With Best Regards,
Andy Shevchenko