From owner-cvs-all Mon Aug 26 11:31:33 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F5D737B400; Mon, 26 Aug 2002 11:31:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EBBB43E3B; Mon, 26 Aug 2002 11:31:27 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7QIVRJU093969; Mon, 26 Aug 2002 11:31:27 -0700 (PDT) (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7QIVRS6093968; Mon, 26 Aug 2002 11:31:27 -0700 (PDT) Message-Id: <200208261831.g7QIVRS6093968@freefall.freebsd.org> From: Ian Dowse Date: Mon, 26 Aug 2002 11:31:26 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys lock.h src/sys/kern subr_witness.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2002/08/26 11:31:26 PDT Modified files: sys/sys lock.h sys/kern subr_witness.c Log: Add WITNESS_FILE() and WITNESS_LINE(), which allow users of witness to print out the file and line from the lock object. These will be used shortly by CTR() calls in the mutex code. Reviewed by: jhb, jake Revision Changes Path 1.123 +22 -0 src/sys/kern/subr_witness.c 1.45 +10 -0 src/sys/sys/lock.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message