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, IOEventHighPriority)) { in PrepareMonitoring()
276 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback, IOEventHighPriority)) { in PrepareMonitoring()
Dcmd_stat.cpp574 auto exit_loop_callback = [loop]() { return loop->ExitLoop(); }; in Run() local
575 if (!loop->AddSignalEvents({SIGCHLD, SIGINT, SIGTERM, SIGHUP}, exit_loop_callback)) { in Run()
579 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback)) { in Run()
584 if (!loop->AddPeriodicEvent(SecondToTimeval(duration_in_sec_), exit_loop_callback)) { in Run()
Dcmd_record.cpp692 auto exit_loop_callback = [loop]() { return loop->ExitLoop(); }; in PrepareRecording() local
693 if (!loop->AddSignalEvents({SIGCHLD, SIGINT, SIGTERM}, exit_loop_callback, IOEventHighPriority)) { in PrepareRecording()
699 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback, IOEventHighPriority)) { in PrepareRecording()
704 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback, IOEventHighPriority)) { in PrepareRecording()