Function init_perfetto_trace
pub fn init_perfetto_trace(path: impl AsRef<Path>) -> Result<(), PixelFlowError>Expand description
Initializes Perfetto-compatible tracing output.
Builds compiled without the tracing feature accept the call and return Ok(())
without creating a file. Feature-enabled builds install a process-global tracing
subscriber that writes Perfetto trace packets to path.