Skip to contentSkip to conversation

perf: Fix hists__browse no-newt case

PATCH New Frederic Weisbecker 1 participant 1 message May 13, 2010 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: 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’

Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Paul Mackerras <[email protected]>
---
 tools/perf/util/hist.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/perf/util/hist.h +1 -1
index ed9c067..0b4c8df 100644
@@ -78,7 +78,7 @@ void hists__filter_by_dso(struct hists *self, const struct dso *dso);
 void hists__filter_by_thread(struct hists *self, const struct thread *thread);
 
 #ifdef NO_NEWT_SUPPORT
-static inline int hists__browse(struct hists self __used,
+static inline int hists__browse(struct hists *self __used,
 				const char *helpline __used,
 				const char *input_name __used)
 {
Signature · 1 line
1.6.2.3