Home
last modified time | relevance | path

Searched refs:AddReadEvent (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
DIOEventLoop.h45 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback);
DIOEventLoop_test.cpp33 ASSERT_NE(nullptr, loop.AddReadEvent(fd[0], [&]() { in TEST()
164 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST()
DIOEventLoop.cpp112 IOEventRef IOEventLoop::AddReadEvent(int fd, in AddReadEvent() function in IOEventLoop
Devent_fd.cpp325 ioevent_ref_ = loop.AddReadEvent(perf_event_fd_, callback); in StartPolling()
DRecordReadThread.cpp255 if (!loop.AddReadEvent(read_data_fd_, data_callback)) { in RegisterDataCallback()
323 CHECK(loop.AddReadEvent(read_cmd_fd_, [&]() { return HandleCmd(loop); })); in RunReadThread()
Dcmd_record.cpp548 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback)) { in PrepareRecording()
560 if (!loop->AddReadEvent(0, [this, loop]() { return ProcessControlCmd(loop); })) { in PrepareRecording()
Dcmd_stat.cpp578 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback)) { in Run()