Lines Matching refs:perf_event_fd_
53 group_fd = group_event_fd->perf_event_fd_; in OpenEventFile()
94 close(perf_event_fd_); in ~EventFd()
113 int result = ioctl(perf_event_fd_, enable ? PERF_EVENT_IOC_ENABLE : PERF_EVENT_IOC_DISABLE, 0); in SetEnableEvent()
122 bool success = ioctl(perf_event_fd_, PERF_EVENT_IOC_SET_FILTER, filter.c_str()) >= 0; in SetFilter()
131 if (!android::base::ReadFully(perf_event_fd_, counter, sizeof(*counter))) { in InnerReadCounter()
159 void* mmap_addr = mmap(nullptr, mmap_len, PROT_READ | PROT_WRITE, MAP_SHARED, perf_event_fd_, 0); in CreateMappedBuffer()
184 int result = ioctl(perf_event_fd_, PERF_EVENT_IOC_SET_OUTPUT, event_fd.perf_event_fd_); in ShareMappedBuffer()
187 PLOG(ERROR) << "failed to share mapped buffer of " << event_fd.perf_event_fd_ << " with " in ShareMappedBuffer()
188 << perf_event_fd_; in ShareMappedBuffer()
263 perf_event_fd_, mmap_metadata_page_->aux_offset); in CreateAuxBuffer()
316 ioevent_ref_ = loop.AddReadEvent(perf_event_fd_, callback); in StartPolling()