New tracing API