This option enables printing all locations where a mutex is locked
and unlocked.
Implemented aggregations using the idr mechanism rather than the
Solaris-based 1-byte allocation technique to get unique IDs.
Various cleanup and small changes.
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
internal checks within the DTrace core. It also enables all the
assertions within the DTrace code.
+if DT_DEBUG
+
+config DT_DEBUG_MUTEX
+ bool "DTrace mutex debugging"
+ default n
+ help
+ This controls the use of DTrace specific wrappers to output debug
+ messages whenever a mutex is locked or unlocked within the DTrace
+ code (core and providers).
+
+endif # DT_DEBUG
+
endif # DT_CORE
endif #DTRACE