summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-11-11 03:18:07 +0000
committerkmacy <kmacy@FreeBSD.org>2006-11-11 03:18:07 +0000
commit9eefcf316159b161b2c6e5143a8991bcb7e63711 (patch)
treef43d5c4ecffd369fdc72c9807d30ffd296fd76f6 /sys/conf/options
parentcd277df0bb233f1107603284c3a160846855b3a1 (diff)
downloadFreeBSD-src-9eefcf316159b161b2c6e5143a8991bcb7e63711.zip
FreeBSD-src-9eefcf316159b161b2c6e5143a8991bcb7e63711.tar.gz
MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profile
wait (time waited to acquire) and hold times for *all* kernel locks. If the architecture has a system synchronized TSC, the profiling code will use that - thereby minimizing profiling overhead. Large chunks of profiling code have been moved out of line, the overhead measured on the T1 for when it is compiled in but not enabled is < 1%. Approved by: scottl (standing in for mentor rwatson) Reviewed by: des and jhb
Diffstat (limited to 'sys/conf/options')
-rw-r--r--sys/conf/options2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/options b/sys/conf/options
index e0681ea..ebfe093 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -545,7 +545,7 @@ INVARIANTS opt_global.h
MCLSHIFT opt_global.h
MUTEX_DEBUG opt_global.h
MUTEX_NOINLINE opt_global.h
-MUTEX_PROFILING opt_global.h
+LOCK_PROFILING opt_global.h
MSIZE opt_global.h
REGRESSION opt_global.h
RESTARTABLE_PANICS opt_global.h
OpenPOWER on IntegriCloud