Home
last modified time | relevance | path

Searched refs:event_fds (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
Devent_selection_set.cpp194 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() local
481 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() local
629 for (auto& event_fd : selection.event_fds) { in PrepareToReadMmapEventData()
630 event_fds.push_back(event_fd.get()); in PrepareToReadMmapEventData()
[all …]
DRecordReadThread_test.cpp235 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 2); in TEST_F() local
236 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() local
277 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() local
296 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()
298 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()
[all …]
DRecordReadThread.h130 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);
DRecordReadThread.cpp244 bool RecordReadThread::AddEventFds(const std::vector<EventFd*>& event_fds) { in AddEventFds() argument
245 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() argument
249 return SendCmdToReadThread(CMD_REMOVE_EVENT_FDS, const_cast<std::vector<EventFd*>*>(&event_fds)); in RemoveEventFds()
350 const std::vector<EventFd*>& event_fds) { in HandleAddEventFds() argument
354 for (EventFd* fd : event_fds) { in HandleAddEventFds()
390 bool RecordReadThread::HandleRemoveEventFds(const std::vector<EventFd*>& event_fds) { in HandleRemoveEventFds() argument
391 for (auto& event_fd : event_fds) { in HandleRemoveEventFds()
Devent_selection_set.h158 std::vector<std::unique_ptr<EventFd>> event_fds; member