From owner-cvs-all@FreeBSD.ORG Mon Jan 3 17:33:16 2005 Return-Path: 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 D493C16A4CE; Mon, 3 Jan 2005 17:33:16 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0C1243D39; Mon, 3 Jan 2005 17:33:16 +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 j03HXGPO041735; Mon, 3 Jan 2005 17:33:16 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j03HXGXL041734; Mon, 3 Jan 2005 17:33:16 GMT (envelope-from rwatson) Message-Id: <200501031733.j03HXGXL041734@repoman.freebsd.org> From: Robert Watson Date: Mon, 3 Jan 2005 17:33:16 +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 kern_switch.c src/sys/sys ktr.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 17:33:17 -0000 rwatson 2005-01-03 17:33:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern kern_switch.c sys/sys ktr.h Log: Merge kern_switch.c:1.103 and ktr.h:1.25 from HEAD to RELENG_5: date: 2004/11/07 23:11:32; author: rwatson; state: Exp; lines: +4 -0 date: 2004/11/07 23:11:32; author: rwatson; state: Exp; lines: +2 -1 Add basic critical section tracing to KTR using event type KTR_CRITICAL. This generates a KTR event for each critical section entered and exited. It would be desirable to also log the filename and line number of the source entering or exiting the critical section, but this requires hacking up the critical section API, so I've not done that yet. Revision Changes Path 1.78.2.14 +4 -0 src/sys/kern/kern_switch.c 1.22.2.3 +2 -1 src/sys/sys/ktr.h