pub fn write_trace_bundle(
bundle_dir: &Path,
system_info: &SystemInfo,
tui_state_json: Option<&str>,
) -> Result<()>Expand description
Write a complete trace bundle directory containing:
render.trace.jsonl(if render_records is non-empty)events.jsonl(if event_records is non-empty)system_info.jsontui_state.json(if state bytes are provided)