[lkml]   [1999]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: show_regs on SMP
Date (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 (


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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:52    [W:0.049 / U:2.756 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site