Lines Matching refs:event_fd
214 auto event_fd = EventFd::OpenEventFile(selection.event_attr, tid, cpu); in OpenEventFiles() local
215 if (event_fd != nullptr) { in OpenEventFiles()
217 selection.event_fds.push_back(std::move(event_fd)); in OpenEventFiles()
239 for (auto& event_fd : selection.event_fds) { in ReadCounters() local
241 if (!event_fd->ReadCounter(&counter_info.counter)) { in ReadCounters()
244 counter_info.tid = event_fd->ThreadId(); in ReadCounters()
245 counter_info.cpu = event_fd->Cpu(); in ReadCounters()
255 for (auto& event_fd : selection.event_fds) { in PreparePollForEventFiles() local
257 event_fd->PreparePollForMmapData(&poll_fd); in PreparePollForEventFiles()
265 for (auto& event_fd : selection.event_fds) { in MmapEventFiles() local
266 if (!event_fd->MmapContent(mmap_pages)) { in MmapEventFiles()
274 static bool ReadMmapEventDataForFd(std::unique_ptr<EventFd>& event_fd, in ReadMmapEventDataForFd() argument
280 size_t size = event_fd->GetAvailableMmapData(&data); in ReadMmapEventDataForFd()
294 for (auto& event_fd : selection.event_fds) { in ReadMmapEventData() local
297 if (!ReadMmapEventDataForFd(event_fd, callback, &have_data)) { in ReadMmapEventData()