Don't inline mutex operations if MUTEX_PROFILING is enabled.

Reported by:	sam
This commit is contained in:
John Baldwin 2003-09-19 18:59:52 +00:00
parent 2128acac3b
commit afc77db4fc

View File

@ -263,7 +263,7 @@ extern struct mtx_pool *mtxpool_sleep;
#ifndef LOCK_DEBUG
#error LOCK_DEBUG not defined, include <sys/lock.h> before <sys/mutex.h>
#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) \