This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/4396] New: script to dump hung task's kernel stack
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Apr 2007 20:07:45 -0000
- Subject: [Bug tapsets/4396] New: script to dump hung task's kernel stack
- Reply-to: sourceware-bugzilla at sourceware dot org
I've heard several requests for this. Process 1234 is hung, and I want to see a
trace of its kernel stack. It would be nice if I could get it via something like
stap dumpstack.stp 1234
where (presumably) the begin probe in dumpstack.stp would look up the task whose
pid is 1234, verify that its state isn't TASK_RUNNING, dump its kernel stack,
and exit.
The stack-dumping functions in the stap runtime aren't very useful for this
case, because they seem to assume that we want a dump of the current process's
stack.
--
Summary: script to dump hung task's kernel stack
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jkenisto at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4396
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.