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