* [PATCH] perf: fix compilation when NO_NEWT_SUPPORT is set
@ 2011-10-12 12:03 Stephane Eranian
2011-10-13 14:01 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 2+ messages in thread
From: Stephane Eranian @ 2011-10-12 12:03 UTC (permalink / raw)
To: linux-kernel; +Cc: acme, peterz, mingo
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 <eranian@google.com>
---
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
index 395b2e7..74f846d 100644
--- a/tools/perf/util/hist.h
+++ b/tools/perf/util/hist.h
@@ -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;
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] perf: fix compilation when NO_NEWT_SUPPORT is set
2011-10-12 12:03 [PATCH] perf: fix compilation when NO_NEWT_SUPPORT is set Stephane Eranian
@ 2011-10-13 14:01 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2011-10-13 14:01 UTC (permalink / raw)
To: Stephane Eranian; +Cc: linux-kernel, peterz, mingo
Em Wed, Oct 12, 2011 at 02:03:28PM +0200, Stephane Eranian escreveu:
>
> 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.
Thanks, sorry about that.
- Arnaldo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-13 14:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 12:03 [PATCH] perf: fix compilation when NO_NEWT_SUPPORT is set Stephane Eranian
2011-10-13 14:01 ` Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox