File tree Expand file tree Collapse file tree
src/run/runner/wall_time/perf Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ impl PerfRunner {
9696 cmd. args ( [
9797 "-c" ,
9898 & format ! (
99- "perf record --user-callchains --freq=999 --switch-output --control=fifo:{},{} --delay=-1 -g --call-graph={cg_mode} --output={} -- {bench_cmd}" ,
99+ "perf record --user-callchains --freq=999 --switch-output=signal --control=fifo:{},{} --delay=-1 -g --call-graph={cg_mode} --output={} -- {bench_cmd}" ,
100100 perf_fifo. ctl_fifo_path. to_string_lossy( ) ,
101101 perf_fifo. ack_fifo_path. to_string_lossy( ) ,
102102 perf_file. path( ) . to_string_lossy( )
@@ -195,11 +195,13 @@ impl PerfRunner {
195195 loop {
196196 let perf_ping = tokio:: time:: timeout ( Duration :: from_secs ( 1 ) , perf_fifo. ping ( ) ) . await ;
197197 if let Ok ( Err ( _) ) | Err ( _) = perf_ping {
198+ error ! ( "Perf timeout" ) ;
198199 break ;
199200 }
200201
201202 let result = tokio:: time:: timeout ( Duration :: from_secs ( 1 ) , runner_fifo. recv_cmd ( ) ) . await ;
202203 let Ok ( Ok ( cmd) ) = result else {
204+ error ! ( "Recv cmd timeout" ) ;
203205 continue ;
204206 } ;
205207 debug ! ( "Received command: {:?}" , cmd) ;
You can’t perform that action at this time.
0 commit comments