Searched refs:pfd_array (Results 1 – 1 of 1) sorted by relevance
6 static int *pfd_array; variable47 pfd_array = malloc(sizeof(int) * cpu_cnt); in create_perf_events()48 if (!pfd_array) { in create_perf_events()54 pfd_array[cpu] = syscall(__NR_perf_event_open, &attr, in create_perf_events()56 if (pfd_array[cpu] < 0) in create_perf_events()68 fd = pfd_array[cpu]; in close_perf_events()73 free(pfd_array); in close_perf_events()