pub async fn profile( config_path: &PathBuf, instance_name: &str, duration: u64, binary_path: &Path, ) -> Result<(), Error>
Captures a CPU profile from a running instance using samply