summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-21 13:58:12 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 17:16:56 -0300
commite14e5497d5253712e1545f79ad93309499ffb544 (patch)
tree66f8bae8add2659e494a924cefc6367f080117f5
parent964f384989585bc265fd929b2a7977b83fbe4c3b (diff)
downloadlinux-stable-e14e5497d5253712e1545f79ad93309499ffb544.tar.gz
linux-stable-e14e5497d5253712e1545f79ad93309499ffb544.tar.bz2
linux-stable-e14e5497d5253712e1545f79ad93309499ffb544.zip
perf evlist: Add missing xyarray.h header
It gets it very indirectly, via evsel.h -> counts.h, and since counts.h doesn't need xyarray.h at all, add it here before we remove it there. 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-hkizv6gojwfklj9ezaiiztll@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tools/perf/util/evlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index 8582560b59af..68b7c949017e 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -37,6 +37,8 @@
#include <perf/evsel.h>
#include <perf/cpumap.h>
+#include <internal/xyarray.h>
+
#ifdef LACKS_SIGQUEUE_PROTOTYPE
int sigqueue(pid_t pid, int sig, const union sigval value);
#endif