[PATCH v9 4/4] nmi_backtrace: generate one-line reports for idle cpus

Petr Mladek pmladek at suse.com
Tue Aug 30 08:46:41 PDT 2016


On Mon 2016-08-29 12:12:49, Chris Metcalf wrote:
> When doing an nmi backtrace of many cores, most of which are idle,
> the output is a little overwhelming and very uninformative.  Suppress
> messages for cpus that are idling when they are interrupted and just
> emit one line, "NMI backtrace for N skipped: idling at pc 0xNNN".
> 
> We do this by grouping all the cpuidle code together into a new
> .cpuidle.text section, and then checking the address of the
> interrupted PC to see if it lies within that section.
> 
> This commit suitably tags x86 and tile idle routines, and only
> adds in the minimal framework for other architectures.
> 
> Acked-by: Peter Zijlstra (Intel) <peterz at infradead.org>
> Tested-by: Peter Zijlstra (Intel) <peterz at infradead.org>
> Tested-by: Daniel Thompson <daniel.thompson at linaro.org> [arm]
> Signed-off-by: Chris Metcalf <cmetcalf at mellanox.com>

This version works even with my configuration. Feel free to
add

Tested-by: Petr Mladek <pmladek at suse.com>

Best Regards,
Petr



More information about the linux-arm-kernel mailing list