diff options
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r-- | tools/perf/util/annotate.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index af755156d278..834b7b57b788 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h | |||
@@ -150,7 +150,7 @@ int symbol__tty_annotate(struct symbol *sym, struct map *map, | |||
150 | struct perf_evsel *evsel, bool print_lines, | 150 | struct perf_evsel *evsel, bool print_lines, |
151 | bool full_paths, int min_pcnt, int max_lines); | 151 | bool full_paths, int min_pcnt, int max_lines); |
152 | 152 | ||
153 | #ifdef SLANG_SUPPORT | 153 | #ifdef HAVE_SLANG_SUPPORT |
154 | int symbol__tui_annotate(struct symbol *sym, struct map *map, | 154 | int symbol__tui_annotate(struct symbol *sym, struct map *map, |
155 | struct perf_evsel *evsel, | 155 | struct perf_evsel *evsel, |
156 | struct hist_browser_timer *hbt); | 156 | struct hist_browser_timer *hbt); |
@@ -165,30 +165,6 @@ static inline int symbol__tui_annotate(struct symbol *sym __maybe_unused, | |||
165 | } | 165 | } |
166 | #endif | 166 | #endif |
167 | 167 | ||
168 | #ifdef GTK2_SUPPORT | ||
169 | int symbol__gtk_annotate(struct symbol *sym, struct map *map, | ||
170 | struct perf_evsel *evsel, | ||
171 | struct hist_browser_timer *hbt); | ||
172 | |||
173 | static inline int hist_entry__gtk_annotate(struct hist_entry *he, | ||
174 | struct perf_evsel *evsel, | ||
175 | struct hist_browser_timer *hbt) | ||
176 | { | ||
177 | return symbol__gtk_annotate(he->ms.sym, he->ms.map, evsel, hbt); | ||
178 | } | ||
179 | |||
180 | void perf_gtk__show_annotations(void); | ||
181 | #else | ||
182 | static inline int hist_entry__gtk_annotate(struct hist_entry *he __maybe_unused, | ||
183 | struct perf_evsel *evsel __maybe_unused, | ||
184 | struct hist_browser_timer *hbt __maybe_unused) | ||
185 | { | ||
186 | return 0; | ||
187 | } | ||
188 | |||
189 | static inline void perf_gtk__show_annotations(void) {} | ||
190 | #endif | ||
191 | |||
192 | extern const char *disassembler_style; | 168 | extern const char *disassembler_style; |
193 | 169 | ||
194 | #endif /* __PERF_ANNOTATE_H */ | 170 | #endif /* __PERF_ANNOTATE_H */ |