From afc77db4fcde9a85ecf3b2051d4645ba9ec65e1b Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 19 Sep 2003 18:59:52 +0000 Subject: [PATCH] Don't inline mutex operations if MUTEX_PROFILING is enabled. Reported by: sam --- sys/sys/mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h index 9601fd7f7550..f9c38e48f22d 100644 --- a/sys/sys/mutex.h +++ b/sys/sys/mutex.h @@ -263,7 +263,7 @@ extern struct mtx_pool *mtxpool_sleep; #ifndef LOCK_DEBUG #error LOCK_DEBUG not defined, include before #endif -#if LOCK_DEBUG > 0 || defined(MUTEX_NOINLINE) +#if LOCK_DEBUG > 0 || defined(MUTEX_NOINLINE) || defined(MUTEX_PROFILING) #define mtx_lock_flags(m, opts) \ _mtx_lock_flags((m), (opts), LOCK_FILE, LOCK_LINE) #define mtx_unlock_flags(m, opts) \