Date: Thu, 6 Jan 2005 23:10:50 +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: <200501062310.j06NAoRA056855@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2005-01-06 23:10:50 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/kern subr_witness.c
Log:
Merge subr_witness.c:1.184 and subr_witness.c:1.185 from HEAD to RELENG_5:
date: 2004/12/27 10:47:08; author: rwatson; state: Exp; lines: +2 -2
Attempt to slightly refine the print out from "show alllocks" -- list
the process and thread numbers/names on the same line rather than on
separate lines, and print the thread pointer not just the tid.
date: 2004/12/26 22:52:24; author: rwatson; state: Exp; lines: +42 -0
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.178.2.4 +42 -0 src/sys/kern/subr_witness.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501062310.j06NAoRA056855>
