Lines Matching refs:event_fd
170 KernelRecordReader::KernelRecordReader(EventFd* event_fd) : event_fd_(event_fd) { in KernelRecordReader() argument
426 for (auto& event_fd : event_fds) { in HandleRemoveEventFds() local
427 if (event_fd->HasMappedBuffer()) { in HandleRemoveEventFds()
430 [&](const KernelRecordReader& reader) { return reader.GetEventFd() == event_fd; }); in HandleRemoveEventFds()
433 event_fd->StopPolling(); in HandleRemoveEventFds()
434 event_fd->DestroyMappedBuffer(); in HandleRemoveEventFds()
435 event_fd->DestroyAuxBuffer(); in HandleRemoveEventFds()
583 EventFd* event_fd = reader.GetEventFd(); in ReadAuxDataFromKernelBuffer() local
584 if (event_fd->HasAuxBuffer()) { in ReadAuxDataFromKernelBuffer()
587 uint64_t offset = event_fd->GetAvailableAuxData(&buf[0], &size[0], &buf[1], &size[1]); in ReadAuxDataFromKernelBuffer()
593 AuxTraceRecord auxtrace(Align(aux_size, 8), offset, event_fd->Cpu(), 0, event_fd->Cpu()); in ReadAuxDataFromKernelBuffer()
614 event_fd->DiscardAuxData(aux_size); in ReadAuxDataFromKernelBuffer()