aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.h
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2010-05-13 13:22:58 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-13 15:32:28 -0400
commit8769e1c7177fd9f6981042bcc6c2851c99a4a7e7 (patch)
tree8b3aa1032ce74157d991d80acb73a9abe8eb1d04 /tools/perf/util/hist.h
parent720019908fd5a1bb442bb0a35a6027ba21864d25 (diff)
perf hist: Fix hists__browse no-newt case
Fix mistake in a parameter type of the no-newt hists__browse() version. Fixes: builtin-report.c: In function ‘__cmd_report’: builtin-report.c:314: erreur: incompatible type for argument 1 of ‘hists__browse’ Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1273771378-8577-1-git-send-regression-fweisbec@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r--tools/perf/util/hist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
index ed9c06734965..0b4c8df914bd 100644
--- a/tools/perf/util/hist.h
+++ b/tools/perf/util/hist.h
@@ -78,7 +78,7 @@ void hists__filter_by_dso(struct hists *self, const struct dso *dso);
78void hists__filter_by_thread(struct hists *self, const struct thread *thread); 78void hists__filter_by_thread(struct hists *self, const struct thread *thread);
79 79
80#ifdef NO_NEWT_SUPPORT 80#ifdef NO_NEWT_SUPPORT
81static inline int hists__browse(struct hists self __used, 81static inline int hists__browse(struct hists *self __used,
82 const char *helpline __used, 82 const char *helpline __used,
83 const char *input_name __used) 83 const char *input_name __used)
84{ 84{