This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/4396] New: script to dump hung task's kernel stack


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]