Installs t as the active Tracer for the calling thread.
See Also
current_tracer — reader for the same TLS slot.
Parameters
tTracer*Tracer to install, or
nullptr to detach the active tracer without destroying the object.Notes
Ownership is not transferred — the caller keeps the Tracer alive
for as long as any OpScopeFull could observe the pointer.
The Python binding holds the underlying shared_ptr for exactly
this reason (matches lucid::set_current_profiler).