Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_selection_set.cpp238 selection->event_fds.clear(); in BuildAndCheckEventSelection()
325 for (const auto& fd : selection.event_fds) { in GetEventAttrWithId()
338 for (const auto& fd : selection.event_fds) { in GetEventNamesById()
564 std::vector<std::unique_ptr<EventFd>> event_fds; in OpenEventFilesOnGroup() local
576 event_fds.push_back(std::move(event_fd)); in OpenEventFilesOnGroup()
578 group_fd = event_fds.back().get(); in OpenEventFilesOnGroup()
582 group[i].event_fds.push_back(std::move(event_fds[i])); in OpenEventFilesOnGroup()
680 for (auto& event_fd : selection.event_fds) { in ApplyAddrFilters()
695 for (auto& event_fd : selection.event_fds) { in ApplyTracepointFilters()
724 for (auto& event_fd : selection.event_fds) { in ReadCounters()
[all …]
DRecordReadThread_test.cpp257 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 2); in TEST_F() local
258 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1, 0); in TEST_F()
266 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()
271 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()
297 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, event_fd_count); in TEST_F() local
299 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()
303 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()
317 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 1); in TEST_F() local
318 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()
320 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()
[all …]
DRecordReadThread.h143 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);
DRecordReadThread.cpp261 bool RecordReadThread::AddEventFds(const std::vector<EventFd*>& event_fds) { in AddEventFds() argument
262 return SendCmdToReadThread(CMD_ADD_EVENT_FDS, const_cast<std::vector<EventFd*>*>(&event_fds)); in AddEventFds()
265 bool RecordReadThread::RemoveEventFds(const std::vector<EventFd*>& event_fds) { in RemoveEventFds() argument
266 return SendCmdToReadThread(CMD_REMOVE_EVENT_FDS, const_cast<std::vector<EventFd*>*>(&event_fds)); in RemoveEventFds()
376 const std::vector<EventFd*>& event_fds) { in HandleAddEventFds() argument
381 for (EventFd* fd : event_fds) { in HandleAddEventFds()
425 bool RecordReadThread::HandleRemoveEventFds(const std::vector<EventFd*>& event_fds) { in HandleRemoveEventFds() argument
426 for (auto& event_fd : event_fds) { in HandleRemoveEventFds()
Devent_selection_set.h182 std::vector<std::unique_ptr<EventFd>> event_fds; member