diff options
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r-- | tools/perf/util/annotate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index 39242dcee8f2..8eec94358a4a 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h | |||
@@ -5,6 +5,7 @@ | |||
5 | #include <stdint.h> | 5 | #include <stdint.h> |
6 | #include "types.h" | 6 | #include "types.h" |
7 | #include "symbol.h" | 7 | #include "symbol.h" |
8 | #include "hist.h" | ||
8 | #include <linux/list.h> | 9 | #include <linux/list.h> |
9 | #include <linux/rbtree.h> | 10 | #include <linux/rbtree.h> |
10 | #include <pthread.h> | 11 | #include <pthread.h> |
@@ -75,6 +76,7 @@ struct sym_hist { | |||
75 | struct source_line { | 76 | struct source_line { |
76 | struct rb_node node; | 77 | struct rb_node node; |
77 | double percent; | 78 | double percent; |
79 | double percent_sum; | ||
78 | char *path; | 80 | char *path; |
79 | }; | 81 | }; |
80 | 82 | ||
@@ -140,20 +142,18 @@ int symbol__tty_annotate(struct symbol *sym, struct map *map, int evidx, | |||
140 | 142 | ||
141 | #ifdef NEWT_SUPPORT | 143 | #ifdef NEWT_SUPPORT |
142 | int symbol__tui_annotate(struct symbol *sym, struct map *map, int evidx, | 144 | int symbol__tui_annotate(struct symbol *sym, struct map *map, int evidx, |
143 | void(*timer)(void *arg), void *arg, int delay_secs); | 145 | struct hist_browser_timer *hbt); |
144 | #else | 146 | #else |
145 | static inline int symbol__tui_annotate(struct symbol *sym __maybe_unused, | 147 | static inline int symbol__tui_annotate(struct symbol *sym __maybe_unused, |
146 | struct map *map __maybe_unused, | 148 | struct map *map __maybe_unused, |
147 | int evidx __maybe_unused, | 149 | int evidx __maybe_unused, |
148 | void(*timer)(void *arg) __maybe_unused, | 150 | struct hist_browser_timer *hbt |
149 | void *arg __maybe_unused, | 151 | __maybe_unused) |
150 | int delay_secs __maybe_unused) | ||
151 | { | 152 | { |
152 | return 0; | 153 | return 0; |
153 | } | 154 | } |
154 | #endif | 155 | #endif |
155 | 156 | ||
156 | extern const char *disassembler_style; | 157 | extern const char *disassembler_style; |
157 | extern const char *objdump_path; | ||
158 | 158 | ||
159 | #endif /* __PERF_ANNOTATE_H */ | 159 | #endif /* __PERF_ANNOTATE_H */ |