pub fn start(
path: &Path,
options: TraceOptions,
) -> Result<TraceSession, TraceError>Expand description
Start the process’s single trace session, creating path exclusively.
The file is new, private (0600 on Unix) and never appended to;
existing files and symlinks are refused with TraceError::Open, as
are missing parent directories. A second concurrent session is refused
with TraceError::AlreadyActive, and limits outside the crate’s
hard bounds with TraceError::Incomplete.