perf: fix compilation when NO_NEWT_SUPPORT is set
PATCH 1/1 perf: fix compilation when NO_NEWT_SUPPORT is set
This patch, relative to tip/master, makes perf compile when NO_NEWT_SUPPORT is set. It also fixes the line formatting to fit 80 columns.
Please test with NO_NEWT.
Signed-off-by Stephane Eranian <[email protected]>
---
tools/perf/util/hist.h +7 -3
@@ -109,16 +109,20 @@ struct perf_evlist;#ifdef NO_NEWT_SUPPORT static inline int perf_evlist__tui_browse_hists (struct perf_evlist *evlist__used , -const char *help__used ,void (*timer)(void *arg)__used ,void *arg, +const char *help__used , +void (*timer)(void *arg)__used , +void *arg__used ,int refresh__used ) {return 0 ; }static inline int hist_entry__tui_annotate (struct hist_entry *self__used , -int evidx__used ,int nr_events__used , +int evidx__used , +int nr_events__used ,void (*timer)(void *arg)__used , -void *arg__used ,int delay_secs__used ); +void *arg__used , +int delay_secs__used ) {return 0 ; }
Em Wed, Oct 12, 2011 at 02:03:28PM +0200, Stephane Eranian escreveu:
Quoted 6 lines
This patch, relative to tip/master, makes perf compile when
NO_NEWT_SUPPORTis set. It also fixes the line formatting to fit 80 columns.Please test with
NO_NEWT.
Thanks, sorry about that.
- Arnaldo