Searched refs:perf_event_fd_ (Results 1 – 2 of 2) sorted by relevance
/system/extras/simpleperf/ |
D | event_fd.cpp | 51 group_fd = group_event_fd->perf_event_fd_; in OpenEventFile() 97 close(perf_event_fd_); in ~EventFd() 117 int result = ioctl(perf_event_fd_, enable ? PERF_EVENT_IOC_ENABLE : PERF_EVENT_IOC_DISABLE, 0); in SetEnableEvent() 126 bool success = ioctl(perf_event_fd_, PERF_EVENT_IOC_SET_FILTER, filter.c_str()) >= 0; in SetFilter() 135 if (!android::base::ReadFully(perf_event_fd_, counter, sizeof(*counter))) { in InnerReadCounter() 165 perf_event_fd_, 0); in CreateMappedBuffer() 192 ioctl(perf_event_fd_, PERF_EVENT_IOC_SET_OUTPUT, event_fd.perf_event_fd_); in ShareMappedBuffer() 196 << event_fd.perf_event_fd_ << " with " << perf_event_fd_; in ShareMappedBuffer() 271 perf_event_fd_, mmap_metadata_page_->aux_offset); in CreateAuxBuffer() 325 ioevent_ref_ = loop.AddReadEvent(perf_event_fd_, callback); in StartPolling()
|
D | event_fd.h | 113 perf_event_fd_(perf_event_fd), in EventFd() 129 int perf_event_fd_; variable
|