Searched refs:tskfd (Results 1 – 1 of 1) sorted by relevance
99 static int hwfd[MAX_CTRS], tskfd[MAX_CTRS]; variable259 tskfd[i] = perf_event_open(&tsk_event, 0, -1, in setup()261 if (tskfd[i] == -1 || hwfd[i] == -1) { in setup()276 if (tskfd[i] > 0 && close(tskfd[i]) == -1) in cleanup()277 tst_resm(TWARN | TERRNO, "close(%d) failed", tskfd[i]); in cleanup()321 if (read(tskfd[i], &vt[i], sizeof(vt[i])) != sizeof(vt[i]) || in verify()