cvs commit: src/sys/kern subr_witness.c
Robert Watson
rwatson at FreeBSD.org
Thu Jan 6 15:10:51 PST 2005
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
More information about the cvs-src
mailing list