diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-18 17:26:44 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 18:01:55 +0200 |
commit | 76b31a29ddaf2fa5f0a70458c214bed02a4a70e9 (patch) | |
tree | 574ac5f54bb42fb68fac4fe24c451a3c39b11ce7 /tools/perf/util/parse-events.c | |
parent | perf tools: Remove misplaced __maybe_unused in some functions (diff) | |
download | linux-76b31a29ddaf2fa5f0a70458c214bed02a4a70e9.tar.xz linux-76b31a29ddaf2fa5f0a70458c214bed02a4a70e9.zip |
perf tools: Remove include dirent.h from util.h
The files using the dirent.h routines should instead include it,
reducing the includes hell that lead to longer build times.
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: http://lkml.kernel.org/n/tip-42g2f4z6nfg7mdb2ae97n7tj@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-events.c')
-rw-r--r-- | tools/perf/util/parse-events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index f3dd1aa59a25..7d84338b19ee 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c @@ -1,5 +1,6 @@ #include <linux/hw_breakpoint.h> #include <linux/err.h> +#include <dirent.h> #include <errno.h> #include "term.h" #include "../perf.h" |