From owner-cvs-src@FreeBSD.ORG Thu Jan 6 23:10:51 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2003016A4CE; Thu, 6 Jan 2005 23:10:51 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08BD943D46; Thu, 6 Jan 2005 23:10:51 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j06NAoo8056856; Thu, 6 Jan 2005 23:10:50 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j06NAoRA056855; Thu, 6 Jan 2005 23:10:50 GMT (envelope-from rwatson) Message-Id: <200501062310.j06NAoRA056855@repoman.freebsd.org> From: Robert Watson Date: Thu, 6 Jan 2005 23:10:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/kern subr_witness.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 23:10:51 -0000 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