builtin-kvm.c | 22 #include <sys/timerfd.h> 116 int timerfd; member in struct:perf_kvm_stat 974 kvm->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); 975 if (kvm->timerfd < 0) { 985 if (timerfd_settime(kvm->timerfd, 0, &new_value, NULL) != 0) { 987 close(kvm->timerfd); 1001 rc = read(kvm->timerfd, &c, sizeof(uint64_t)); 1094 /* copy pollfds -- need to add timerfd and stdin */ 1110 pollfds[nr_fds].fd = kvm->timerfd; 1150 if (kvm->timerfd >= 0 [all...] |