Date: Mon, 26 Aug 2002 11:39:38 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys ktr.h src/sys/kern kern_mutex.c Message-ID: <200208261839.g7QIdckr094663@freefall.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208261839.g7QIdckr094663>
