cvs commit: src/sys/kern kern_switch.c src/sys/sys ktr.h
rwatson 2005-01-03 17:33:16 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
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
220.127.116.11 +4 -0 src/sys/kern/kern_switch.c
18.104.22.168 +2 -1 src/sys/sys/ktr.h
Received on Mon Jan 03 2005 - 17:33:16 UTC