@@ -84,7 +84,7 @@ fn main() {
8484 . args ( & args) ;
8585
8686 let prof_out_dir = std:: env:: current_dir ( ) . unwrap ( ) . join ( "self-profile-output" ) ;
87- if wrapper == "perf-stat-self-profile " {
87+ if wrapper == "PerfStatSelfProfile " {
8888 cmd. arg ( & format ! (
8989 "-Zself-profile={}" ,
9090 prof_out_dir. to_str( ) . unwrap( )
@@ -99,7 +99,7 @@ fn main() {
9999 assert ! ( status. success( ) ) ;
100100 print_memory ( ) ;
101101 print_time ( dur) ;
102- if wrapper == "perf-stat-self-profile " {
102+ if wrapper == "PerfStatSelfProfile " {
103103 process_self_profile_output ( prof_out_dir, & args[ ..] ) ;
104104 }
105105 }
@@ -151,7 +151,7 @@ fn main() {
151151 tool. args ( & args) ;
152152
153153 let prof_out_dir = std:: env:: current_dir ( ) . unwrap ( ) . join ( "self-profile-output" ) ;
154- if wrapper == "xperf-stat-self-profile " {
154+ if wrapper == "XperfStatSelfProfile " {
155155 tool. arg ( & format ! (
156156 "-Zself-profile={}" ,
157157 prof_out_dir. to_str( ) . unwrap( )
@@ -182,7 +182,7 @@ fn main() {
182182 let counters_file = std:: env:: current_dir ( ) . unwrap ( ) . join ( "pmc_counters.txt" ) ;
183183 println ! ( "!counters-file:{}" , counters_file. to_str( ) . unwrap( ) ) ;
184184
185- if wrapper == "xperf-stat-self-profile " {
185+ if wrapper == "XperfStatSelfProfile " {
186186 process_self_profile_output ( prof_out_dir, & args[ ..] ) ;
187187 }
188188 }
0 commit comments