diff options
author | 2019-08-30 12:52:25 -0300 | |
---|---|---|
committer | 2019-08-31 22:24:10 -0300 | |
commit | fa0d98462fae5d4951f22f3ac1090d48c53396d1 (patch) | |
tree | 66871262d4746e65ff6ebec67b8461c731411db9 /tools/perf/util/color_config.c | |
parent | perf tools: Remove needless evlist.h include directives (diff) | |
download | linux-fa0d98462fae5d4951f22f3ac1090d48c53396d1.tar.gz linux-fa0d98462fae5d4951f22f3ac1090d48c53396d1.tar.bz2 linux-fa0d98462fae5d4951f22f3ac1090d48c53396d1.zip |
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/color_config.c')
-rw-r--r-- | tools/perf/util/color_config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/color_config.c b/tools/perf/util/color_config.c index 817dc56e7e95..dc09ba7cb31e 100644 --- a/tools/perf/util/color_config.c +++ b/tools/perf/util/color_config.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> -#include "cache.h" +#include <subcmd/pager.h> +#include <string.h> #include "config.h" #include <stdlib.h> #include <stdio.h> |