@@ -84,7 +84,7 @@ fn main() {
84
84
. args ( & args) ;
85
85
86
86
let prof_out_dir = std:: env:: current_dir ( ) . unwrap ( ) . join ( "self-profile-output" ) ;
87
- if wrapper == "perf-stat-self-profile " {
87
+ if wrapper == "PerfStatSelfProfile " {
88
88
cmd. arg ( & format ! (
89
89
"-Zself-profile={}" ,
90
90
prof_out_dir. to_str( ) . unwrap( )
@@ -99,7 +99,7 @@ fn main() {
99
99
assert ! ( status. success( ) ) ;
100
100
print_memory ( ) ;
101
101
print_time ( dur) ;
102
- if wrapper == "perf-stat-self-profile " {
102
+ if wrapper == "PerfStatSelfProfile " {
103
103
process_self_profile_output ( prof_out_dir, & args[ ..] ) ;
104
104
}
105
105
}
@@ -151,7 +151,7 @@ fn main() {
151
151
tool. args ( & args) ;
152
152
153
153
let prof_out_dir = std:: env:: current_dir ( ) . unwrap ( ) . join ( "self-profile-output" ) ;
154
- if wrapper == "xperf-stat-self-profile " {
154
+ if wrapper == "XperfStatSelfProfile " {
155
155
tool. arg ( & format ! (
156
156
"-Zself-profile={}" ,
157
157
prof_out_dir. to_str( ) . unwrap( )
@@ -182,7 +182,7 @@ fn main() {
182
182
let counters_file = std:: env:: current_dir ( ) . unwrap ( ) . join ( "pmc_counters.txt" ) ;
183
183
println ! ( "!counters-file:{}" , counters_file. to_str( ) . unwrap( ) ) ;
184
184
185
- if wrapper == "xperf-stat-self-profile " {
185
+ if wrapper == "XperfStatSelfProfile " {
186
186
process_self_profile_output ( prof_out_dir, & args[ ..] ) ;
187
187
}
188
188
}
0 commit comments