Home
last modified time | relevance | path

Searched refs:perf_event_fd_ (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Devent_fd.cpp53 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()
[all …]
Devent_fd.h115 perf_event_fd_(perf_event_fd), in EventFd()
131 int perf_event_fd_; variable