From owner-cvs-all Mon Aug 26 11:39:45 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 3A2D837B400; Mon, 26 Aug 2002 11:39:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCDDE43EF1; Mon, 26 Aug 2002 11:39:38 -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 g7QIdcJU094664; Mon, 26 Aug 2002 11:39:38 -0700 (PDT) (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7QIdckr094663; Mon, 26 Aug 2002 11:39:38 -0700 (PDT) Message-Id: <200208261839.g7QIdckr094663@freefall.freebsd.org> From: Ian Dowse Date: Mon, 26 Aug 2002 11:39:38 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys ktr.h src/sys/kern kern_mutex.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:39:38 PDT Modified files: sys/sys ktr.h sys/kern kern_mutex.c Log: Add a new KTR type KTR_CONTENTION, and use it in the mutex code to log the start and end of periods during which mtx_lock() is waiting to acquire a sleep mutex. The log message includes the file and line of both the waiter and the holder. Reviewed by: jhb, jake Revision Changes Path 1.105 +20 -0 src/sys/kern/kern_mutex.c 1.19 +2 -1 src/sys/sys/ktr.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message