capture_to

Function capture_to 

Source
pub fn capture_to(path: &Path) -> Result<()>
Expand description

Capture a snapshot and write it to path in the canonical zstd+JSON format. Wrapper over capture + CtprofSnapshot::write so CLI code can stay a single call.