From owner-cvs-all Fri Apr 6 14:37:59 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0421F37B424; Fri, 6 Apr 2001 14:37:53 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f36Lbqk56434; Fri, 6 Apr 2001 14:37:52 -0700 (PDT) (envelope-from jhb) Message-Id: <200104062137.f36Lbqk56434@freefall.freebsd.org> From: John Baldwin Date: Fri, 6 Apr 2001 14:37:52 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_witness.c src/sys/sys lock.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2001/04/06 14:37:52 PDT Modified files: sys/kern subr_witness.c sys/sys lock.h Log: - Split out the functionality of displaying the contents of a single lock list into a public witness_list_locks() function. Call this function twice in witness_list() instead of using an evil goto. - Adjust the 'show locks' command to take an optional parameter which specifies the pid of a process to list the locks of. By default the locks held by the current process are displayed. Revision Changes Path 1.62 +53 -22 src/sys/kern/subr_witness.c 1.29 +2 -1 src/sys/sys/lock.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message