Searched refs:perf_event_fd (Results 1 – 2 of 2) sorted by relevance
/system/extras/simpleperf/ |
D | event_fd.cpp | 53 int perf_event_fd = perf_event_open(&perf_attr, tid, cpu, -1, 0); in OpenEventFile() local 54 if (perf_event_fd == -1) { in OpenEventFile() 64 if (fcntl(perf_event_fd, F_SETFD, FD_CLOEXEC) == -1) { in OpenEventFile() 74 return std::unique_ptr<EventFd>(new EventFd(perf_event_fd, event_name, tid, cpu)); in OpenEventFile()
|
D | event_fd.h | 71 EventFd(int perf_event_fd, const std::string& event_name, pid_t tid, int cpu) in EventFd() argument 72 : perf_event_fd_(perf_event_fd), in EventFd()
|