show_regs on SMP

Chuck Lever (cel@monkey.org)
Thu, 24 Jun 1999 14:55:18 -0400 (EDT)


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?

- Chuck Lever

--
corporate:	<chuckl@netscape.com>
personal:	<chucklever@netscape.net> or <cel@monkey.org>

The Linux Scalability project: http://www.citi.umich.edu/projects/linux-scalability/

- 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/