Lines Matching refs:event_fd
85 std::unique_ptr<EventFd> event_fd = in IsDumpingRegsForTracepointEventsSupported() local
87 if (event_fd == nullptr || !event_fd->CreateMappedBuffer(4, true)) { in IsDumpingRegsForTracepointEventsSupported()
95 std::vector<char> buffer = event_fd->GetAvailableMmapData(); in IsDumpingRegsForTracepointEventsSupported()
560 std::unique_ptr<EventFd> event_fd = EventFd::OpenEventFile( in OpenEventFilesOnGroup() local
562 if (!event_fd) { in OpenEventFilesOnGroup()
566 LOG(VERBOSE) << "OpenEventFile for " << event_fd->Name(); in OpenEventFilesOnGroup()
567 event_fds.push_back(std::move(event_fd)); in OpenEventFilesOnGroup()
671 for (auto& event_fd : selection.event_fds) { in ApplyAddrFilters() local
672 if (!event_fd->SetFilter(filter_str)) { in ApplyAddrFilters()
686 for (auto& event_fd : selection.event_fds) { in ApplyTracepointFilters() local
687 if (!event_fd->SetFilter(selection.tracepoint_filter)) { in ApplyTracepointFilters()
697 static bool ReadCounter(EventFd* event_fd, CounterInfo* counter) { in ReadCounter() argument
698 if (!event_fd->ReadCounter(&counter->counter)) { in ReadCounter()
701 counter->tid = event_fd->ThreadId(); in ReadCounter()
702 counter->cpu = event_fd->Cpu(); in ReadCounter()
715 for (auto& event_fd : selection.event_fds) { in ReadCounters() local
717 if (!ReadCounter(event_fd.get(), &counter)) { in ReadCounters()
748 for (auto& event_fd : selection.event_fds) { in PrepareToReadMmapEventData() local
749 event_fds.push_back(event_fd.get()); in PrepareToReadMmapEventData()