From e3af46af0ee4180b2cc43196d924b57b20715c97 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Sat, 25 Sep 2021 18:23:51 -0400 Subject: [PATCH] self-profile with all events locally This does use a lot of disk space, but seems like the better default (potentially). My primary use case here is getting query keys. --- collector/src/rustc-fake.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/collector/src/rustc-fake.rs b/collector/src/rustc-fake.rs index 83811da67..ac9c2d0e0 100644 --- a/collector/src/rustc-fake.rs +++ b/collector/src/rustc-fake.rs @@ -161,6 +161,7 @@ fn main() { "self-profile" => { let mut cmd = Command::new(&tool); + cmd.arg("-Zself-profile-events=all"); cmd.arg("-Zself-profile=Zsp").args(&args); assert!(cmd.status().expect("failed to spawn").success());