cvs commit: src/sys/kern kern_switch.c src/sys/sys ktr.h
Robert Watson
rwatson at FreeBSD.org
Sun Nov 7 23:11:33 GMT 2004
rwatson 2004-11-07 23:11:33 UTC
FreeBSD src repository
Modified files:
sys/kern kern_switch.c
sys/sys ktr.h
Log:
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.103 +4 -0 src/sys/kern/kern_switch.c
1.25 +2 -1 src/sys/sys/ktr.h
More information about the cvs-src
mailing list