lkml.org 
[lkml]   [2006]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to dump stack for kernel threads

>Subject: How to dump stack for kernel threads
>
> In a driver that I am debugging, there is a periodic task that runs every
> minute. Intermittently, it destructively interrupts some other activity in the
> driver, but I have not been able to find the section that is not thread-safe. I
> have included a dump_stack call at the point where the problem is evident, but
> the current thread is OK. How would I generate a stack dump of the rest of this
> driver's kernel threads? Dumping all kernel threads would also be OK.

Sysrq+T. Behind the jungle, there's a function doing what you want.


Jan Engelhardt
--
| Software Engineer and Linux/Unix Network Administrator
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-26 22:17    [W:0.033 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site