Skip to content

Commit

Permalink
Merge pull request #1031 from Mark-Simulacrum/all-events
Browse files Browse the repository at this point in the history
self-profile with all events locally
  • Loading branch information
Mark-Simulacrum authored Sep 25, 2021
2 parents 7374a43 + e3af46a commit f00b9ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions collector/src/rustc-fake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit f00b9ca

Please sign in to comment.