Searched refs:AddReadEvent (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | IOEventLoop.h | 48 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback);
|
D | IOEventLoop_test.cpp | 35 ASSERT_NE(nullptr, loop.AddReadEvent(fd[0], [&]() { in TEST() 166 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST()
|
D | IOEventLoop.cpp | 113 IOEventRef IOEventLoop::AddReadEvent(int fd, const std::function<bool()>& callback) { in AddReadEvent() function in simpleperf::IOEventLoop
|
D | event_fd.cpp | 316 ioevent_ref_ = loop.AddReadEvent(perf_event_fd_, callback); in StartPolling()
|
D | RecordReadThread.cpp | 254 if (!loop.AddReadEvent(read_data_fd_, data_callback)) { in RegisterDataCallback() 325 CHECK(loop.AddReadEvent(read_cmd_fd_, [&]() { return HandleCmd(loop); })); in RunReadThread()
|
D | cmd_stat.cpp | 572 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback)) { in Run()
|
D | cmd_record.cpp | 604 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback)) { in PrepareRecording() 616 if (!loop->AddReadEvent(0, [this, loop]() { return ProcessControlCmd(loop); })) { in PrepareRecording()
|