pub fn cmd_sampler_run( workspace: &Path, session_id: &str, pid: u32, ) -> Result<()>
Sample pid until stop file, cap, or process exit.
pid