summaryrefslogtreecommitdiff
path: root/tools/perf/util/cache.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-07-07 17:38:09 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-07-12 21:19:58 +0300
commit175729fc2c5144e9eee06b3483c5c9798f7062a5 (patch)
tree2b7a2d828f055e2d86148a0f79b073a0e0f5567e /tools/perf/util/cache.h
parent16b7c9bda52a593fb3a7e3a9848d7596777a73f5 (diff)
downloadlinux-175729fc2c5144e9eee06b3483c5c9798f7062a5.tar.xz
perf tools: Remove needless includes from cache.h
The cache.h header doesn't use any of the definitions in some of the headers it includes, ditch them and fix the fallout, where files were getting stuff they needed just because they were including it, sometimes not using what it really exports at all. 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-l6r2bmj8h1g3e01wr981on0n@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/cache.h')
-rw-r--r--tools/perf/util/cache.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/util/cache.h b/tools/perf/util/cache.h
index 9f90e36b56fb..512c0c83fbc6 100644
--- a/tools/perf/util/cache.h
+++ b/tools/perf/util/cache.h
@@ -1,11 +1,8 @@
#ifndef __PERF_CACHE_H
#define __PERF_CACHE_H
-#include <stdbool.h>
-#include "util.h"
#include "strbuf.h"
#include <subcmd/pager.h>
-#include "../perf.h"
#include "../ui/ui.h"
#include <linux/string.h>