Don't inline mutex operations if MUTEX_PROFILING is enabled.

Reported by:	sam
This commit is contained in:
jhb 2003-09-19 18:59:52 +00:00
parent be091f65b4
commit 3cc6e3f53c

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) \