summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/bpf-loader.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-21 16:57:50 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 22:16:56 +0200
commit964f384989585bc265fd929b2a7977b83fbe4c3b (patch)
treec1f936e17c32323512711ceff883c211c569638e /tools/perf/util/bpf-loader.c
parentperf counts: Add missing headers needed for types used (diff)
downloadlinux-964f384989585bc265fd929b2a7977b83fbe4c3b.tar.xz
linux-964f384989585bc265fd929b2a7977b83fbe4c3b.zip
perf bpf: Add missing xyarray.h header
This was being obtained indirectly via evsel.h -> counts.h, since we don't need xyarray in counts.h, we need to add it here explicitely before removing it from counts.h. 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-jirmxg527i82yz31bwad9we7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/bpf-loader.c')
-rw-r--r--tools/perf/util/bpf-loader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/bpf-loader.c b/tools/perf/util/bpf-loader.c
index 9c219d413e57..e20d7c5e1925 100644
--- a/tools/perf/util/bpf-loader.c
+++ b/tools/perf/util/bpf-loader.c
@@ -26,6 +26,8 @@
#include "llvm-utils.h"
#include "c++/clang-c.h"
+#include <internal/xyarray.h>
+
static int libbpf_perf_print(enum libbpf_print_level level __attribute__((unused)),
const char *fmt, va_list args)
{