fn generate_perf_script( perf_data_path: &Path, perf_script_path: &Path, fields: &str, ) -> Result<()>