lkml.org 
[lkml]   [2014]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] printk: Print cpu number along with time
On Thu, 24 Apr 2014, David Rientjes wrote:

> > Well, if you have dmesg dump from panic that happens every other year, and
> > you have to do post-mortem analysis on it, I am pretty sure you would love
> > to be able to figure out how the stack traces would look like without
> > inter-CPU interleaving. And I am pretty sure you wouldn't want to
> > insert/enable a tracepoint and wait another two years for the bug to
> > trigger again.
>
> Sounds like the appropriate fix would be to serialize stack dumping to the
> kernel log.

That's rather difficult, as it can be done both from NMI and non-NMI
contexts, and those are very hard to synchronize.

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2014-04-26 23:41    [W:0.109 / U:1.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site