libperf: Add missing 'struct xyarray' forward declaration
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Sep 2019 18:10:35 +0000 (15:10 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Sep 2019 12:51:47 +0000 (09:51 -0300)
commitfee92b4442f135495d4fc59a0b9418490d4ac0ba
tree20f01bab310980947703f8425134ab28d515dba7
parent40cb2d5141bdd52b3c00bb78799118c4606947ac
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>
tools/perf/lib/include/internal/evsel.h