Searched refs:event_fds (Results 1 – 5 of 5) sorted by relevance
194 selection->event_fds.clear(); in BuildAndCheckEventSelection()284 for (const auto& fd : selection.event_fds) { in GetEventAttrWithId()469 std::vector<std::unique_ptr<EventFd>> event_fds; in OpenEventFilesOnGroup() local481 event_fds.push_back(std::move(event_fd)); in OpenEventFilesOnGroup()483 group_fd = event_fds.back().get(); in OpenEventFilesOnGroup()487 group[i].event_fds.push_back(std::move(event_fds[i])); in OpenEventFilesOnGroup()599 for (auto& event_fd : selection.event_fds) { in ReadCounters()626 std::vector<EventFd*> event_fds; in PrepareToReadMmapEventData() local629 for (auto& event_fd : selection.event_fds) { in PrepareToReadMmapEventData()630 event_fds.push_back(event_fd.get()); in PrepareToReadMmapEventData()[all …]
235 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 2); in TEST_F() local236 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1); in TEST_F()244 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()249 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()275 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, event_fd_count); in TEST_F() local277 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()281 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()295 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 1); in TEST_F() local296 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()298 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()[all …]
130 bool AddEventFds(const std::vector<EventFd*>& event_fds);132 bool RemoveEventFds(const std::vector<EventFd*>& event_fds);163 bool HandleAddEventFds(IOEventLoop& loop, const std::vector<EventFd*>& event_fds);164 bool HandleRemoveEventFds(const std::vector<EventFd*>& event_fds);
244 bool RecordReadThread::AddEventFds(const std::vector<EventFd*>& event_fds) { in AddEventFds() argument245 return SendCmdToReadThread(CMD_ADD_EVENT_FDS, const_cast<std::vector<EventFd*>*>(&event_fds)); in AddEventFds()248 bool RecordReadThread::RemoveEventFds(const std::vector<EventFd*>& event_fds) { in RemoveEventFds() argument249 return SendCmdToReadThread(CMD_REMOVE_EVENT_FDS, const_cast<std::vector<EventFd*>*>(&event_fds)); in RemoveEventFds()350 const std::vector<EventFd*>& event_fds) { in HandleAddEventFds() argument354 for (EventFd* fd : event_fds) { in HandleAddEventFds()390 bool RecordReadThread::HandleRemoveEventFds(const std::vector<EventFd*>& event_fds) { in HandleRemoveEventFds() argument391 for (auto& event_fd : event_fds) { in HandleRemoveEventFds()
158 std::vector<std::unique_ptr<EventFd>> event_fds; member