perf bpf: Add missing xyarray.h header
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Aug 2019 14:57:50 +0000 (11:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2019 20:16:56 +0000 (17:16 -0300)
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>
tools/perf/util/bpf-loader.c

index 9c219d413e57b1e9881cd92d9bc4f4b4f37c62d4..e20d7c5e1925ba35c22689a97c6a8b6a4c910197 100644 (file)
@@ -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)
 {