Thread (2 messages) 2 messages, 2 authors, 2016-08-30

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

From: Petr Mladek <pmladek@suse.com>
Date: 2016-08-30 15:46:52
Also in: linux-arm-kernel, lkml

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@infradead.org>
Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Daniel Thompson <redacted> [arm]
Signed-off-by: Chris Metcalf <redacted>
This version works even with my configuration. Feel free to
add

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

Best Regards,
Petr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help