[tip:,perf/core] perf bpf: Add missing xyarray.h header
diff mbox series

Message ID 156656290353.31566.155251217166336085.tip-bot2@tip-bot2
State Accepted
Commit 964f384989585bc265fd929b2a7977b83fbe4c3b
Headers show
Series
  • [tip:,perf/core] perf bpf: Add missing xyarray.h header
Related show

Commit Message

tip-bot2 for Vitaly Kuznetsov Aug. 23, 2019, 12:21 p.m. UTC
The following commit has been merged into the perf/core branch of tip:

Commit-ID:     964f384989585bc265fd929b2a7977b83fbe4c3b
Gitweb:        https://git.kernel.org/tip/964f384989585bc265fd929b2a7977b83fbe4c3b
Author:        Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate:    Wed, 21 Aug 2019 11:57:50 -03:00
Committer:     Arnaldo Carvalho de Melo <acme@redhat.com>
CommitterDate: Thu, 22 Aug 2019 17:16:56 -03:00

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>
---
 tools/perf/util/bpf-loader.c | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox series

diff --git a/tools/perf/util/bpf-loader.c b/tools/perf/util/bpf-loader.c
index 9c219d4..e20d7c5 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)
 {