• Home
  • Raw
  • Download

Lines Matching refs:event_fd

91   std::unique_ptr<EventFd> event_fd =  in IsDumpingRegsForTracepointEventsSupported()  local
93 if (event_fd == nullptr || !event_fd->CreateMappedBuffer(4, true)) { in IsDumpingRegsForTracepointEventsSupported()
105 std::vector<char> buffer = event_fd->GetAvailableMmapData(); in IsDumpingRegsForTracepointEventsSupported()
569 std::unique_ptr<EventFd> event_fd = EventFd::OpenEventFile( in OpenEventFilesOnGroup() local
571 if (!event_fd) { in OpenEventFilesOnGroup()
575 LOG(VERBOSE) << "OpenEventFile for " << event_fd->Name(); in OpenEventFilesOnGroup()
576 event_fds.push_back(std::move(event_fd)); in OpenEventFilesOnGroup()
680 for (auto& event_fd : selection.event_fds) { in ApplyAddrFilters() local
681 if (!event_fd->SetFilter(filter_str)) { in ApplyAddrFilters()
695 for (auto& event_fd : selection.event_fds) { in ApplyTracepointFilters() local
696 if (!event_fd->SetFilter(selection.tracepoint_filter)) { in ApplyTracepointFilters()
706 static bool ReadCounter(EventFd* event_fd, CounterInfo* counter) { in ReadCounter() argument
707 if (!event_fd->ReadCounter(&counter->counter)) { in ReadCounter()
710 counter->tid = event_fd->ThreadId(); in ReadCounter()
711 counter->cpu = event_fd->Cpu(); in ReadCounter()
724 for (auto& event_fd : selection.event_fds) { in ReadCounters() local
726 if (!ReadCounter(event_fd.get(), &counter)) { in ReadCounters()
756 for (auto& event_fd : selection.event_fds) { in PrepareToReadMmapEventData() local
757 event_fds.push_back(event_fd.get()); in PrepareToReadMmapEventData()