Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_selection_set.cpp266 selection->event_fds.clear(); in BuildAndCheckEventSelection()
387 for (const auto& fd : selection.event_fds) { in GetEventAttrWithId()
402 for (const auto& fd : selection.event_fds) { in GetEventNamesById()
414 for (const auto& fd : selection.event_fds) { in GetCpusById()
661 std::vector<std::unique_ptr<EventFd>> event_fds; in OpenEventFilesOnGroup() local
673 event_fds.emplace_back(std::move(event_fd)); in OpenEventFilesOnGroup()
675 group_fd = event_fds.back().get(); in OpenEventFilesOnGroup()
679 group.selections[i].event_fds.emplace_back(std::move(event_fds[i])); in OpenEventFilesOnGroup()
787 for (auto& event_fd : selection.event_fds) { in ApplyAddrFilters()
802 for (auto& event_fd : selection.event_fds) { in ApplyTracepointFilters()
[all …]
DRecordReadThread_test.cpp283 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 2); in TEST_F() local
284 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1, 0); in TEST_F()
292 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()
297 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()
324 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, event_fd_count); in TEST_F() local
326 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()
330 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()
345 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, 1); in TEST_F() local
346 ASSERT_TRUE(thread.AddEventFds(event_fds)); in TEST_F()
348 ASSERT_TRUE(thread.RemoveEventFds(event_fds)); in TEST_F()
[all …]
DRecordReadThread.h147 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);
DRecordReadThread.cpp277 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()
443 bool RecordReadThread::HandleRemoveEventFds(const std::vector<EventFd*>& event_fds) { in HandleRemoveEventFds() argument
444 for (auto& event_fd : event_fds) { in HandleRemoveEventFds()
Dcmd_stat.cpp806 std::vector<std::unique_ptr<EventFd>> event_fds; in CheckHardwareCountersOnCpu() local
808 EventFd* group_event_fd = event_fds.empty() ? nullptr : event_fds[0].get(); in CheckHardwareCountersOnCpu()
814 event_fds.emplace_back(std::move(event_fd)); in CheckHardwareCountersOnCpu()
819 for (auto& event_fd : event_fds) { in CheckHardwareCountersOnCpu()
Devent_selection_set.h190 std::vector<std::unique_ptr<EventFd>> event_fds; member