diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-03 15:56:06 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-20 14:19:20 +0200 |
commit | fb71c86cc804b8f490fce1b9140014043ec41858 (patch) | |
tree | 741cbd1130d2f081af0442c653851b6e24f0fe5d /tools/perf/util/data.c | |
parent | perf tools: Remove debug.h from places where it is not needed (diff) | |
download | linux-fb71c86cc804b8f490fce1b9140014043ec41858.tar.xz linux-fb71c86cc804b8f490fce1b9140014043ec41858.zip |
perf tools: Remove util.h from where it is not needed
Check that it is not needed and remove, fixing up some fallout for
places where it was only serving to get something else.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-9h6dg6lsqe2usyqjh5rrues4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/data.c')
-rw-r--r-- | tools/perf/util/data.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/data.c b/tools/perf/util/data.c index e75c3a279fe8..88fba2ba549f 100644 --- a/tools/perf/util/data.c +++ b/tools/perf/util/data.c @@ -13,9 +13,10 @@ #include <dirent.h> #include "data.h" -#include "util.h" +#include "util.h" // rm_rf_perf_data() #include "debug.h" #include "header.h" +#include <internal/lib.h> static void close_dir(struct perf_data_file *files, int nr) { |