Date: Mon, 3 Jan 2005 17:33:16 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_switch.c src/sys/sys ktr.h Message-ID: <200501031733.j03HXGXL041734@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501031733.j03HXGXL041734>