lkml.org 
[lkml]   [1999]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectshow_regs on SMP
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/

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