lkml.org 
[lkml]   [1999]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: show_regs on SMP
From
Date
cel@monkey.org (Chuck Lever) writes:

> i was thinking it would be nice to have show_regs show the EIP and
> call traceback for all processors in an SMP configuration, not just the
> interrupted processor.
>
> it's easy enough to replace kbd_pt_regs with an array of pointers to
> struct pt_regs, and print the contents during a sysreq. but how could i
> grab the stack frame on the other CPUs?
>
> perhaps the keyboard interrupt could instead trigger an IPI to all
> processors in the configuration which causes them to dump their stack
> frame on the console.
>
> comments? anyone already have a patch that does this?

kdb can do this (http://reality.sgi.com/slurn_engr/)

-Andi

--
This is like TV. I don't like TV.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans