[lkml]   [2008]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] sysrq show-all-cpus
On Tuesday 11 March 2008 05:03, Rik van Riel wrote:
> SysRQ-P is not always useful on SMP systems, since it usually ends up
> showing the backtrace of a CPU that is doing just fine, instead of the
> backtrace of the CPU that is having problems.
> This patch adds SysRQ show-all-cpus(L), which shows the backtrace of every
> active CPU in the system. It skips idle CPUs because some SMP systems are
> just too large and we already know what the backtrace of the idle task
> looks like.

Yeah we need something like this. I prefer mine though ;) It shows
registers as well as stack...

It prints just a single CPU at a time, but cycles through each one.
An alternative might be to have one sysrq key used to cycle between
CPUs, and sysrq+P could then just print out a trace from the selected

 \ /
  Last update: 2008-03-11 09:17    [W:0.091 / U:5.820 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site