Skip to contentSkip to conversation

perf evsel: Add missing 'target' struct forward declaration

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Oct 15, 2014 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  80b2210c623dc47e0847816989dd647738e4fb94
Gitweb:     http://git.kernel.org/tip/80b2210c623dc47e0847816989dd647738e4fb94
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Mon, 13 Oct 2014 10:29:50 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 14 Oct 2014 17:32:54 -0300

perf evsel: Add missing 'target' struct forward declaration

We use it in evsel.h but were getting it indirectly, fix it.

Noticed while working on having evsel.h usable by rasd.c.

Cc Adrian Hunter <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Don Zickus <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
---
 tools/perf/util/evsel.h | 1 +
 1 file changed, 1 insertion(+)
tools/perf/util/evsel.h +1 -0
index fee9274..5c80cf0 100644
@@ -99,6 +99,7 @@ union u64_swap {
 };
 
 struct cpu_map;
+struct target;
 struct thread_map;
 struct perf_evlist;
 struct record_opts;