Searched refs:rrets_fd (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/testing/selftests/x86/ |
D | srso.c | 16 int rrets_fd, mrrets_fd; in main() local 38 rrets_fd = syscall(SYS_perf_event_open, &ret_attr, 0, -1, -1, 0); in main() 39 if (rrets_fd == -1) { in main() 50 ioctl(rrets_fd, PERF_EVENT_IOC_RESET, 0); in main() 53 ioctl(rrets_fd, PERF_EVENT_IOC_ENABLE, 0); in main() 59 ioctl(rrets_fd, PERF_EVENT_IOC_DISABLE, 0); in main() 62 read(rrets_fd, &count_rets, sizeof(long long)); in main()
|