/system/extras/tests/icachetest/ |
Profiler.cpp | 41 static int perf_event_open(struct perf_event_attr* hw_event, pid_t pid, function 94 int fd = perf_event_open(&pe, 0, -1, -1, 0); 105 mCountersFd[CPU_CYCLES] = perf_event_open(&pe, 0, -1, groupFd, 0); 115 mCountersFd[DCACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); 125 mCountersFd[DCACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); 135 mCountersFd[BRANCHES] = perf_event_open(&pe, 0, -1, groupFd, 0); 145 mCountersFd[BRANCH_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); 156 mCountersFd[ICACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); 166 mCountersFd[ICACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); 177 mCountersFd[ICACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0) [all...] |
/external/ltp/testcases/kernel/syscalls/perf_event_open/ |
perf_event_open01.c | 103 * According to perf_event_open's manpage, the official way of 104 * knowing if perf_event_open() support is enabled is checking for 121 static int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, function 150 TEST(perf_event_open(&pe, 0, -1, -1, 0)); 155 "perf_event_open for %s not supported", 159 "perf_event_open %s failed unexpectedly",
|
perf_event_open02.c | 117 static int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, function 161 fdarry[i] = perf_event_open(&hw_event, 0, -1, -1, 0); 168 "perf_event_open failed at iteration:%d", i); 224 * According to perf_event_open's manpage, the official way of 225 * knowing if perf_event_open() support is enabled is checking for 251 tsk0 = perf_event_open(&tsk_event, 0, -1, -1, 0); 253 tst_brkm(TBROK | TERRNO, cleanup, "perf_event_open failed"); 257 hwfd[i] = perf_event_open(&hw_event, 0, -1, -1, 0); 258 tskfd[i] = perf_event_open(&tsk_event, 0, -1, 262 "perf_event_open failed") [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
event.c | 16 int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, function 54 e->fd = perf_event_open(&e->attr, pid, cpu, group_fd, 0); 56 perror("perf_event_open");
|
/external/honggfuzz/linux/ |
perf.c | 110 static long perf_event_open( function 176 *perfFd = perf_event_open(&pe, pid, -1, -1, PERF_FLAG_FD_CLOEXEC); 178 PLOG_F("perf_event_open() failed");
|
/system/extras/simpleperf/ |
event_fd.cpp | 41 static int perf_event_open(const perf_event_attr& attr, pid_t pid, int cpu, function 67 int perf_event_fd = perf_event_open(real_attr, tid, cpu, group_fd, 0);
|