summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-trace.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2018-01-22 20:42:16 +0100
committerArnaldo Carvalho de Melo2018-01-25 10:37:30 +0100
commitbafae98e7a95df74ce4529ae96251cb12c86fdf3 (patch)
tree622eb6822d6435ebec837e78f296047860862b68 /tools/perf/builtin-trace.c
parentperf trace beauty futex: Beautify FUTEX_BITSET_MATCH_ANY (diff)
downloadkernel-qcow2-linux-bafae98e7a95df74ce4529ae96251cb12c86fdf3.tar.gz
kernel-qcow2-linux-bafae98e7a95df74ce4529ae96251cb12c86fdf3.tar.xz
kernel-qcow2-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-trace.c')
-rw-r--r--tools/perf/builtin-trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 46d3ff09440c..868306ccd8b8 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -56,6 +56,7 @@
#include <linux/random.h>
#include <linux/stringify.h>
#include <linux/time64.h>
+#include <fcntl.h>
#include "sane_ctype.h"