tracing: pass around ring buffer instead of tracer