perf evsel: Add missing 'target' struct forward declaration
authorArnaldo Carvalho de Melo <[email protected]>
Mon, 13 Oct 2014 13:29:50 +0000 (10:29 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Tue, 14 Oct 2014 20:32:54 +0000 (17:32 -0300)
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]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/evsel.h

index fee927404720a16797b4b1981575ee95f6c17cb5..5c80cf037e502968ef1722725c879c1fdae5e29e 100644 (file)
@@ -99,6 +99,7 @@ union u64_swap {
 };
 
 struct cpu_map;
+struct target;
 struct thread_map;
 struct perf_evlist;
 struct record_opts;