Searched refs:event_fds (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | event_selection_set.cpp | 231 selection->event_fds.clear(); in BuildAndCheckEventSelection() 320 for (const auto& fd : selection.event_fds) { in GetEventAttrWithId() 555 std::vector<std::unique_ptr<EventFd>> event_fds; in OpenEventFilesOnGroup() local 567 event_fds.push_back(std::move(event_fd)); in OpenEventFilesOnGroup() 569 group_fd = event_fds.back().get(); in OpenEventFilesOnGroup() 573 group[i].event_fds.push_back(std::move(event_fds[i])); in OpenEventFilesOnGroup() 671 for (auto& event_fd : selection.event_fds) { in ApplyAddrFilters() 686 for (auto& event_fd : selection.event_fds) { in ApplyTracepointFilters() 715 for (auto& event_fd : selection.event_fds) { in ReadCounters() 745 std::vector<EventFd*> event_fds; in PrepareToReadMmapEventData() local [all …]
|
D | RecordReadThread_test.cpp | 253 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 2); in TEST_F() local 254 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1, 0); in TEST_F() 262 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F() 267 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F() 293 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, event_fd_count); in TEST_F() local 295 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F() 299 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F() 313 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 1); in TEST_F() local 314 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F() 316 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F() [all …]
|
D | RecordReadThread.h | 143 bool AddEventFds(const std::vector<EventFd*>& event_fds); 145 bool RemoveEventFds(const std::vector<EventFd*>& event_fds); 173 bool HandleAddEventFds(IOEventLoop& loop, const std::vector<EventFd*>& event_fds); 174 bool HandleRemoveEventFds(const std::vector<EventFd*>& event_fds);
|
D | RecordReadThread.cpp | 262 bool RecordReadThread::AddEventFds(const std::vector<EventFd*>& event_fds) { in AddEventFds() argument 263 return SendCmdToReadThread(CMD_ADD_EVENT_FDS, const_cast<std::vector<EventFd*>*>(&event_fds)); in AddEventFds() 266 bool RecordReadThread::RemoveEventFds(const std::vector<EventFd*>& event_fds) { in RemoveEventFds() argument 267 return SendCmdToReadThread(CMD_REMOVE_EVENT_FDS, const_cast<std::vector<EventFd*>*>(&event_fds)); in RemoveEventFds() 374 const std::vector<EventFd*>& event_fds) { in HandleAddEventFds() argument 379 for (EventFd* fd : event_fds) { in HandleAddEventFds() 423 bool RecordReadThread::HandleRemoveEventFds(const std::vector<EventFd*>& event_fds) { in HandleRemoveEventFds() argument 424 for (auto& event_fd : event_fds) { in HandleRemoveEventFds()
|
D | event_selection_set.h | 185 std::vector<std::unique_ptr<EventFd>> event_fds; member
|