File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,6 +77,16 @@ impl Executor for WallTimeExecutor {
7777 status. map_err ( |e| anyhow ! ( "failed to execute the benchmark process. {}" , e) ) ?;
7878 debug ! ( "cmd exit status: {:?}" , status) ;
7979
80+ // Debug log of the perf folder
81+ debug ! ( "Perf folder: {:?}" , run_data. profile_folder) ;
82+
83+ // walk all entries
84+ let entries = std:: fs:: read_dir ( & run_data. profile_folder ) ?;
85+ for entry in entries {
86+ let entry = entry?;
87+ debug ! ( "Entry: {:?}" , entry) ;
88+ }
89+
8090 if !status. success ( ) {
8191 bail ! ( "failed to execute the benchmark process: {}" , status) ;
8292 }
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ impl PerfRunner {
9999 cmd. args ( [
100100 "-c" ,
101101 & format ! (
102- "perf record --user-callchains --freq=999 --switch-output=signal --control=fifo:{},{} --delay=-1 -g --call-graph={cg_mode} --output={} -- {bench_cmd}" ,
102+ "perf record --user-callchains --freq=max --switch-output=signal --control=fifo:{},{} --delay=-1 -g --call-graph={cg_mode} --output={} -- {bench_cmd}" ,
103103 perf_fifo. ctl_fifo_path. to_string_lossy( ) ,
104104 perf_fifo. ack_fifo_path. to_string_lossy( ) ,
105105 perf_file. path( ) . to_string_lossy( )
You can’t perform that action at this time.
0 commit comments