aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/path.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-30 11:52:25 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-31 21:24:10 -0400
commitfa0d98462fae5d4951f22f3ac1090d48c53396d1 (patch)
tree66871262d4746e65ff6ebec67b8461c731411db9 /tools/perf/util/path.h
parent7ae811b12e419fd70b7d7159f20ed8519bbe18cc (diff)
perf tools: Remove needless evlist.h include directives
Remove the last unneeded use of cache.h in a header, we can check where it is really needed, i.e. we can remove it and be sure that it isn't being obtained indirectly. This is an old file, used by now incorrectly in many places, so it was providing includes needed indirectly, fixup this fallout. 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-3x3l8gihoaeh7714os861ia7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/path.h')
-rw-r--r--tools/perf/util/path.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/path.h b/tools/perf/util/path.h
index f014f905df50..083429b7efa3 100644
--- a/tools/perf/util/path.h
+++ b/tools/perf/util/path.h
@@ -2,6 +2,9 @@
2#ifndef _PERF_PATH_H 2#ifndef _PERF_PATH_H
3#define _PERF_PATH_H 3#define _PERF_PATH_H
4 4
5#include <stddef.h>
6#include <stdbool.h>
7
5struct dirent; 8struct dirent;
6 9
7int path__join(char *bf, size_t size, const char *path1, const char *path2); 10int path__join(char *bf, size_t size, const char *path1, const char *path2);