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