pub fn record_to_with_mountinfo(
command: Command,
dir: &Path,
mountinfo: MountProvenance,
options: RecordOptions,
) -> Result<ExitStatus, Error>Expand description
Records with producer-owned mountinfo provenance. The directory-lifetime
obligation is the same as record_to. options are stored in the
recording’s metadata.json, and a replay uses the same network, /proc
level, CPU profile and schedule.
The ptrace session runs on a tracer thread, so the calling thread needs no
particular stack; see run.