Searched refs:event_fds (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | event_selection_set.cpp | 264 selection->event_fds.clear(); in BuildAndCheckEventSelection() 375 for (const auto& fd : selection.event_fds) { in GetEventAttrWithId() 390 for (const auto& fd : selection.event_fds) { in GetEventNamesById() 620 std::vector<std::unique_ptr<EventFd>> event_fds; in OpenEventFilesOnGroup() local 632 event_fds.push_back(std::move(event_fd)); in OpenEventFilesOnGroup() 634 group_fd = event_fds.back().get(); in OpenEventFilesOnGroup() 638 group[i].event_fds.push_back(std::move(event_fds[i])); in OpenEventFilesOnGroup() 736 for (auto& event_fd : selection.event_fds) { in ApplyAddrFilters() 751 for (auto& event_fd : selection.event_fds) { in ApplyTracepointFilters() 780 for (auto& event_fd : selection.event_fds) { in ReadCounters() [all …]
|
D | RecordReadThread_test.cpp | 276 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 2); in TEST_F() local 277 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1, 0); in TEST_F() 285 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F() 290 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F() 316 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, event_fd_count); in TEST_F() local 318 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F() 322 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F() 336 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 1); in TEST_F() local 337 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F() 339 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F() [all …]
|
D | RecordReadThread.h | 147 bool AddEventFds(const std::vector<EventFd*>& event_fds); 149 bool RemoveEventFds(const std::vector<EventFd*>& event_fds); 177 bool HandleAddEventFds(IOEventLoop& loop, const std::vector<EventFd*>& event_fds); 178 bool HandleRemoveEventFds(const std::vector<EventFd*>& event_fds);
|
D | RecordReadThread.cpp | 277 bool RecordReadThread::AddEventFds(const std::vector<EventFd*>& event_fds) { in AddEventFds() argument 278 return SendCmdToReadThread(CMD_ADD_EVENT_FDS, const_cast<std::vector<EventFd*>*>(&event_fds)); in AddEventFds() 281 bool RecordReadThread::RemoveEventFds(const std::vector<EventFd*>& event_fds) { in RemoveEventFds() argument 282 return SendCmdToReadThread(CMD_REMOVE_EVENT_FDS, const_cast<std::vector<EventFd*>*>(&event_fds)); in RemoveEventFds() 393 const std::vector<EventFd*>& event_fds) { in HandleAddEventFds() argument 398 for (EventFd* fd : event_fds) { in HandleAddEventFds() 442 bool RecordReadThread::HandleRemoveEventFds(const std::vector<EventFd*>& event_fds) { in HandleRemoveEventFds() argument 443 for (auto& event_fd : event_fds) { in HandleRemoveEventFds()
|
D | cmd_stat.cpp | 761 std::vector<std::unique_ptr<EventFd>> event_fds; in CheckHardwareCountersOnCpu() local 763 EventFd* group_event_fd = event_fds.empty() ? nullptr : event_fds[0].get(); in CheckHardwareCountersOnCpu() 769 event_fds.emplace_back(std::move(event_fd)); in CheckHardwareCountersOnCpu() 774 for (auto& event_fd : event_fds) { in CheckHardwareCountersOnCpu()
|
D | event_selection_set.h | 185 std::vector<std::unique_ptr<EventFd>> event_fds; member
|