From 3e19ac0ec1732990510038731614394c699eb876 Mon Sep 17 00:00:00 2001 From: Ben Kimock Date: Fri, 23 Aug 2024 18:35:45 -0400 Subject: [PATCH] perf record with --call-graph=fp --freq=max --- collector/src/bin/rustc-fake.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collector/src/bin/rustc-fake.rs b/collector/src/bin/rustc-fake.rs index 3e079d1ef..6d66aa395 100644 --- a/collector/src/bin/rustc-fake.rs +++ b/collector/src/bin/rustc-fake.rs @@ -234,9 +234,9 @@ fn main() { let has_perf = cmd.output().is_ok(); assert!(has_perf); cmd.arg("record") - .arg("--call-graph=dwarf") + .arg("--call-graph=fp") .arg("--output=perf") - .arg("--freq=299") + .arg("--freq=max") .arg("--event=cycles:u,instructions:u") .arg(&tool) .args(&args);