diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-01-22 20:42:16 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-01-25 10:37:30 +0100 |
commit | bafae98e7a95df74ce4529ae96251cb12c86fdf3 (patch) | |
tree | 622eb6822d6435ebec837e78f296047860862b68 /tools/perf/tests/openat-syscall-tp-fields.c | |
parent | perf trace beauty futex: Beautify FUTEX_BITSET_MATCH_ANY (diff) | |
download | linux-bafae98e7a95df74ce4529ae96251cb12c86fdf3.tar.xz 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/tests/openat-syscall-tp-fields.c')
-rw-r--r-- | tools/perf/tests/openat-syscall-tp-fields.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/tests/openat-syscall-tp-fields.c b/tools/perf/tests/openat-syscall-tp-fields.c index 97c9407d02a0..43519267b93b 100644 --- a/tools/perf/tests/openat-syscall-tp-fields.c +++ b/tools/perf/tests/openat-syscall-tp-fields.c @@ -1,5 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 #include <linux/err.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> #include "perf.h" #include "evlist.h" #include "evsel.h" |