perf: fix compile error in annotate.h
PATCH 1/1 perf: fix compile error in annotate.h
The following patch is necessary to compile without NEWT.
---
tools/perf/util/annotate.h +1 -1
@@ -82,7 +82,7 @@ int symbol__tty_annotate(struct symbol *sym, struct map *map, int evidx, int max_lines);#ifdef NO_NEWT_SUPPORT -static inline int symbol__tui_annotate (symbol *sym__used , +static inline int symbol__tui_annotate (struct symbol *sym__used ,struct map *map__used ,int evidx__used ) {return 0 ;
Em Tue, Feb 08, 2011 at 02:20:01PM +0200, Stephane Eranian escreveu:
Quoted 1 line
The following patch is necessary to compile without NEWT.
Merged already, Borislav Petkov sent a similar patch.
Thanks,
- Arnaldo
Quoted 16 lines
Signed-off-by Stephane Eranian <[email protected]>---
tools/perf/util/annotate.h +1
-1@@ -82,7 +82,7 @@ int symbol__tty_annotate(struct symbol *sym, struct map *map, int evidx, int max_lines);#ifdef NO_NEWT_SUPPORT -static inline int symbol__tui_annotate (symbol *sym__used , +static inline int symbol__tui_annotate (struct symbol *sym__used ,struct map *map__used ,int evidx__used ) {return 0 ;
Quoted 4 lines · Arnaldo Carvalho de Melo
Em Tue, Feb 08, 2011 at 02:20:01PM +0200, Stephane Eranian escreveu:
Quoted 1 line
The following patch is necessary to compile without NEWT.
Merged already, Borislav Petkov sent a similar patch.
I just pushed it out - Stephane, mind checking that latest -tip indeed fixes things for you?
Thanks,
Ingo
Stephane Eranian
Acked-byQuoted 11 lines · Ingo Molnar
Quoted 4 lines · Arnaldo Carvalho de Melo
Em Tue, Feb 08, 2011 at 02:20:01PM +0200, Stephane Eranian escreveu:
Quoted 1 line
The following patch is necessary to compile without NEWT.
Merged already, Borislav Petkov sent a similar patch.
I just pushed it out - Stephane, mind checking that latest -tip indeed fixes things for you?
Works for me now, thanks.