Skip to contentSkip to conversation

perf bpf: Add missing xyarray.h header

tip: perf/core tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Aug 23, 2019 1 message not in the archive perf events

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw

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 <[email protected]>
AuthorDate:    Wed, 21 Aug 2019 11:57:50 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
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.

---
 tools/perf/util/bpf-loader.c | 2 ++
 1 file changed, 2 insertions(+)
tools/perf/util/bpf-loader.c +2 -0
index 9c219d4..e20d7c5 100644
@@ -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)
 {