Date: Fri, 27 Jan 2006 17:46:35 -0500 From: John Baldwin <jhb@freebsd.org> To: src-committers@freebsd.org Cc: cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern subr_sleepqueue.c Message-ID: <200601271746.37539.jhb@freebsd.org> In-Reply-To: <200601272224.k0RMO7q3062088@repoman.freebsd.org> References: <200601272224.k0RMO7q3062088@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 27 January 2006 17:24, John Baldwin wrote: > jhb 2006-01-27 22:24:07 UTC > > FreeBSD src repository > > Modified files: > sys/kern subr_sleepqueue.c > Log: > Add a new ddb command 'show sleepq'. It takes a wait channel as an > argument and looks for a sleep queue associated with that wait channel. > If it finds one it will display information such as the list of threads > sleeping on that queue. If it can't find a sleep queue for that wait > channel, then it will see if that address matches any of the active > sleep queues. If so, it will display information about the sleepq at the > specified address. Sample output: db> show sleepq 0xc477d780 Wait channel: 0xc477d780 Queue type: 1 Associated Interlock: 0xc477d788 - (sleep mutex) crash2 event Blocked threads: 0xc4754a80 (tid 100059, pid 57, "crash2: 1") 0xc4754c00 (tid 100058, pid 58, "crash2: 2") 0xc4754900 (tid 100060, pid 56, "crash2: 0") 0xc4754d80 (tid 100057, pid 59, "crash2: 3") db> show sleepq 0xc07c5b70 Wait channel: 0xc07c5b70 Queue type: 0 Blocked threads: 0xc44ffc00 (tid 100047, pid 41, "syncer") -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601271746.37539.jhb>