summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/llvm.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-07-07 16:38:09 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-07-12 20:19:58 +0200
commit175729fc2c5144e9eee06b3483c5c9798f7062a5 (patch)
tree2b7a2d828f055e2d86148a0f79b073a0e0f5567e /tools/perf/tests/llvm.c
parentperf tools: Add missing header to color.c (diff)
downloadlinux-175729fc2c5144e9eee06b3483c5c9798f7062a5.tar.xz
linux-175729fc2c5144e9eee06b3483c5c9798f7062a5.zip
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/tests/llvm.c')
-rw-r--r--tools/perf/tests/llvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/llvm.c b/tools/perf/tests/llvm.c
index cff564fb4b66..b798a4bfd238 100644
--- a/tools/perf/tests/llvm.c
+++ b/tools/perf/tests/llvm.c
@@ -5,6 +5,7 @@
#include "llvm.h"
#include "tests.h"
#include "debug.h"
+#include "util.h"
#ifdef HAVE_LIBBPF_SUPPORT
static int test__bpf_parsing(void *obj_buf, size_t obj_buf_sz)