Searched refs:perf_event_fd (Results 1 – 2 of 2) sorted by relevance
/system/extras/simpleperf/ |
D | event_fd.h | 110 EventFd(const perf_event_attr& attr, int perf_event_fd, in EventFd() argument 113 perf_event_fd_(perf_event_fd), in EventFd()
|
D | event_fd.cpp | 65 int perf_event_fd = perf_event_open(real_attr, tid, cpu, group_fd, 0); in OpenEventFile() local 66 if (perf_event_fd == -1) { in OpenEventFile() 78 if (fcntl(perf_event_fd, F_SETFD, FD_CLOEXEC) == -1) { in OpenEventFile() 91 new EventFd(real_attr, perf_event_fd, event_name, tid, cpu)); in OpenEventFile()
|