Date: Mon, 22 Apr 2002 12:09:02 +1000 From: Joshua Goodall <joshua@roughtrade.net> To: freebsd-hackers@FreeBSD.org Subject: kernel backtrace of sleeping processes Message-ID: <20020422020902.GB86692@roughtrade.net>
next in thread | raw e-mail | index | archive | help
In a remote kgdb, I have struct proc * for several processes that are sleeping and I want the kernel backtraces for them. To illustrate: (kgdb) set var $p201 = allproc.lh_first->p_list.le_next->p_list.le_next (kgdb) print $p201->p_pid $12 = 201 (kgdb) print $p201->p_xxthread.td_wmesg $13 = 0xc0247174 "select" Now I want a (kernel) backtrace on this; given that I have $p201, how can I select the appropriate stack frame? (recent -current on i386) Joshua To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020422020902.GB86692>