Skip to contentSkip to conversation

perf evlist: Add missing 'struct option' forward declaration

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

lore
Share & tools
lore
#0 lore raw
Commit-ID:  724ce97e9f8616ffb62b940f3726685c6f31f9b9
Gitweb:     http://git.kernel.org/tip/724ce97e9f8616ffb62b940f3726685c6f31f9b9
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Fri, 17 Oct 2014 12:16:00 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Fri, 17 Oct 2014 12:16:00 -0300

perf evlist: Add missing 'struct option' forward declaration

It was being found, by chance, because evsel.h needlessly includes util/cgroup.h, which will be sorted out in a following patch.

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/evlist.h | 2 ++
 1 file changed, 2 insertions(+)
tools/perf/util/evlist.h +2 -0
index bd312b0..649b0c5 100644
@@ -117,6 +117,8 @@ int perf_evlist__prepare_workload(struct perf_evlist *evlist,
 						     void *ucontext));
 int perf_evlist__start_workload(struct perf_evlist *evlist);
 
+struct option;
+
 int perf_evlist__parse_mmap_pages(const struct option *opt,
 				  const char *str,
 				  int unset);