Home
last modified time | relevance | path

Searched refs:exit_loop_callback (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Dcmd_monitor.cpp268 auto exit_loop_callback = [loop]() { return loop->ExitLoop(); }; in PrepareMonitoring() local
269 if (!loop->AddSignalEvents({SIGCHLD, SIGINT, SIGTERM}, exit_loop_callback)) { in PrepareMonitoring()
276 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback)) { in PrepareMonitoring()
Dcmd_stat.cpp567 auto exit_loop_callback = [loop]() { return loop->ExitLoop(); }; in Run() local
568 if (!loop->AddSignalEvents({SIGCHLD, SIGINT, SIGTERM, SIGHUP}, exit_loop_callback)) { in Run()
572 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback)) { in Run()
577 if (!loop->AddPeriodicEvent(SecondToTimeval(duration_in_sec_), exit_loop_callback)) { in Run()
Dcmd_record.cpp592 auto exit_loop_callback = [loop]() { return loop->ExitLoop(); }; in PrepareRecording() local
593 if (!loop->AddSignalEvents({SIGCHLD, SIGINT, SIGTERM}, exit_loop_callback)) { in PrepareRecording()
599 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback)) { in PrepareRecording()
604 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback)) { in PrepareRecording()