Registers a hook for Mutex tracing.
Declared in <absl/synchronization/mutex.h>
void
RegisterMutexTracer(void(* fn)(char const*, void const*, int64_t));
This has the same ordering and single-use limitations as RegisterMutexProfiler().
| Name | Description |
|---|---|
| fn | Callback invoked with an event name, an opaque mutex handle, and the number of wait cycles. |