]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a reset sysctl for mutex profiling: zeros all of the mutex
authorrwatson <rwatson@FreeBSD.org>
Wed, 28 Jan 2004 22:11:53 +0000 (22:11 +0000)
committerrwatson <rwatson@FreeBSD.org>
Wed, 28 Jan 2004 22:11:53 +0000 (22:11 +0000)
commit614c424e998726dec6600ec7a9c09adaf61777f6
tree3dc37fc600f8279792670ee923c7b12e97a1f3ec
parente2d757c7c1da6f5614a8a01cd4f2791254cc855c
Add a reset sysctl for mutex profiling: zeros all of the mutex
profiling buffers and hash table.  This makes it a lot easier to
do multiple profiling runs without rebooting or performing
gratuitous arithmetic.  Sysctl is named debug.mutex.prof.reset.

Reviewed by: jake
sys/kern/kern_mutex.c