Date: Sun, 26 Dec 2004 22:52:24 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_witness.c Message-ID: <200412262252.iBQMqPe7060613@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-12-26 22:52:24 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Add "show alllocks" command to DDB, which dumps a list of processes and threads currently holding sleep mutexes (and spin mutexes for curthread). This can be quite useful in looking for a lock condition summary for a system, as it avoids manually iterating through threads and processes to find all the interesting locks. NB: "alllocks" is up there with "lockedvnods" for a bad argument for show. MFC after: 2 weeks Revision Changes Path 1.184 +42 -0 src/sys/kern/subr_witness.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412262252.iBQMqPe7060613>