diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-01-22 16:42:16 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-01-25 06:37:30 -0300 |
commit | bafae98e7a95df74ce4529ae96251cb12c86fdf3 (patch) | |
tree | 622eb6822d6435ebec837e78f296047860862b68 /tools/perf/builtin-kvm.c | |
parent | 3258abe0991590a182be0a20ef6b79b65fe2c9cd (diff) | |
download | blackbird-obmc-linux-bafae98e7a95df74ce4529ae96251cb12c86fdf3.tar.gz blackbird-obmc-linux-bafae98e7a95df74ce4529ae96251cb12c86fdf3.zip |
perf evlist: Remove fcntl.h from evlist.h
Not needed there, fixup the places where it is needed and was getting
only by luck via evlist.h.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-yxjpetn64z8vjuguu84gr6x6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-kvm.c')
-rw-r--r-- | tools/perf/builtin-kvm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c index 98853162eae9..55d919dc5bc6 100644 --- a/tools/perf/builtin-kvm.c +++ b/tools/perf/builtin-kvm.c @@ -26,6 +26,9 @@ #include <sys/timerfd.h> #endif #include <sys/time.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> #include <linux/kernel.h> #include <linux/time64.h> |