aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/lib
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-09-23 15:10:35 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-09-25 09:51:47 -0300
commitfee92b4442f135495d4fc59a0b9418490d4ac0ba (patch)
tree20f01bab310980947703f8425134ab28d515dba7 /tools/perf/lib
parentlibperf: Move 'pollfd' from 'struct evlist' to 'struct perf_evlist' (diff)
downloadlinux-dev-fee92b4442f135495d4fc59a0b9418490d4ac0ba.tar.xz
linux-dev-fee92b4442f135495d4fc59a0b9418490d4ac0ba.zip
libperf: Add missing 'struct xyarray' forward declaration
We were getting it by luck, from files included before internal/evsel.h where it is being included. Fixes: 9dfcb7599084 ("libperf: Move fd array from perf's evsel to lobperf's perf_evsel class") Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: https://lkml.kernel.org/n/tip-r8ukhxprpkflbd2k9vcc42v1@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/lib')
-rw-r--r--tools/perf/lib/include/internal/evsel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/lib/include/internal/evsel.h b/tools/perf/lib/include/internal/evsel.h
index 1bff789b0923..60daee6db914 100644
--- a/tools/perf/lib/include/internal/evsel.h
+++ b/tools/perf/lib/include/internal/evsel.h
@@ -8,6 +8,7 @@
struct perf_cpu_map;
struct perf_thread_map;
+struct xyarray;
struct perf_evsel {
struct list_head node;