From: Arnaldo Carvalho de Melo Date: Fri, 17 Oct 2014 15:16:00 +0000 (-0300) Subject: perf evlist: Add missing 'struct option' forward declaration X-Git-Tag: v5.15~17003^2^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=724ce97e9f8616ffb62b940f3726685c6f31f9b9;p=platform%2Fkernel%2Flinux-starfive.git 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 Cc: Borislav Petkov Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecker Cc: Jean Pihet Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-xsvxr747wkkpg1ay9dramorr@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/evlist.h b/tools/perf/util/evlist.h index bd312b0..649b0c5 100644 --- a/tools/perf/util/evlist.h +++ b/tools/perf/util/evlist.h @@ -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);