File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
site/src/request_handlers Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ fn main() {
119
119
let prof_out_dir = create_self_profile_dir ( ) ;
120
120
if wrapper == "PerfStatSelfProfile" {
121
121
cmd. arg ( format ! ( "-Zself-profile={}" , prof_out_dir. to_str( ) . unwrap( ) ) ) ;
122
+ cmd. arg ( "-Zself-profile-counter=instructions:u" ) ;
122
123
let _ = fs:: remove_dir_all ( & prof_out_dir) ;
123
124
let _ = fs:: create_dir_all ( & prof_out_dir) ;
124
125
}
Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ pub async fn handle_self_profile(
460
460
. benchmark ( selector:: Selector :: One ( bench_name. to_string ( ) ) )
461
461
. profile ( selector:: Selector :: One ( profile. parse ( ) . unwrap ( ) ) )
462
462
. scenario ( selector:: Selector :: One ( scenario) )
463
- . metric ( selector:: Selector :: One ( Metric :: CpuClock ) ) ;
463
+ . metric ( selector:: Selector :: One ( Metric :: InstructionsUser ) ) ;
464
464
465
465
// Helper for finding an `ArtifactId` based on a commit sha
466
466
let find_aid = |commit : & str | {
You can’t perform that action at this time.
0 commit comments