commit | c5e4027e056c3027f682f0d69fe9fd75083b65f8 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Wed Apr 19 16:12:39 2017 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Thu Apr 20 13:22:44 2017 -0300 |
tree | 19c278858df6393728458f22cb4c8dc71a746788 | |
parent | 58db1d6e7d5d24afa2d32e916fd6f6b6d240ba93 [diff] [blame] |
perf tools: Move timestamp routines from util.h to time-utils.h We already have a header for time utilities, so use it. Link: http://lkml.kernel.org/n/tip-sijzpbvutlg0c3oxn49hy9ca@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c index 2b1732c..d86ac0a 100644 --- a/tools/perf/builtin-kvm.c +++ b/tools/perf/builtin-kvm.c
@@ -24,6 +24,7 @@ #ifdef HAVE_TIMERFD_SUPPORT #include <sys/timerfd.h> #endif +#include <sys/time.h> #include <linux/kernel.h> #include <linux/time64.h>