Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_fd.cpp67 int perf_event_fd = perf_event_open(real_attr, tid, cpu, group_fd, 0); in OpenEventFile() local
68 if (perf_event_fd == -1) { in OpenEventFile()
80 if (fcntl(perf_event_fd, F_SETFD, FD_CLOEXEC) == -1) { in OpenEventFile()
93 new EventFd(real_attr, perf_event_fd, event_name, tid, cpu)); in OpenEventFile()
Devent_fd.h94 EventFd(const perf_event_attr& attr, int perf_event_fd, in EventFd() argument
97 perf_event_fd_(perf_event_fd), in EventFd()