Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1362168 > unrolled thread

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

Started byPeter Zijlstra <peterz@infradead.org>
First post2016-03-21 22:50 +0100
Last post2016-03-21 22:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle  cpus Peter Zijlstra <peterz@infradead.org> - 2016-03-21 22:50 +0100

#1362168 — Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus

FromPeter Zijlstra <peterz@infradead.org>
Date2016-03-21 22:50 +0100
SubjectRe: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus
Message-ID<rffS2-34o-9@gated-at.bofh.it>
On Wed, Mar 16, 2016 at 01:02:13PM -0400, 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".

This is still 100+ lines on a modern system, but better than the many
many thousands it would otherwise generate.

> 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.
> 
> Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org>

Please Cc Rafael on the next posting.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web