Skip to content

Commit e3af46a

Browse files
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.
1 parent 7374a43 commit e3af46a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

collector/src/rustc-fake.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ fn main() {
161161

162162
"self-profile" => {
163163
let mut cmd = Command::new(&tool);
164+
cmd.arg("-Zself-profile-events=all");
164165
cmd.arg("-Zself-profile=Zsp").args(&args);
165166

166167
assert!(cmd.status().expect("failed to spawn").success());

0 commit comments

Comments
 (0)