annotate.h (27eb2c4b3d3e13f376a359e293c212a2e9407af5) | annotate.h (89fe808ae777728da6e1d78b7d13562792310d17) |
---|---|
1#ifndef __PERF_ANNOTATE_H 2#define __PERF_ANNOTATE_H 3 4#include <stdbool.h> 5#include <stdint.h> 6#include "types.h" 7#include "symbol.h" 8#include "hist.h" --- 136 unchanged lines hidden (view full) --- 145void symbol__annotate_zero_histogram(struct symbol *sym, int evidx); 146void symbol__annotate_decay_histogram(struct symbol *sym, int evidx); 147void disasm__purge(struct list_head *head); 148 149int symbol__tty_annotate(struct symbol *sym, struct map *map, 150 struct perf_evsel *evsel, bool print_lines, 151 bool full_paths, int min_pcnt, int max_lines); 152 | 1#ifndef __PERF_ANNOTATE_H 2#define __PERF_ANNOTATE_H 3 4#include <stdbool.h> 5#include <stdint.h> 6#include "types.h" 7#include "symbol.h" 8#include "hist.h" --- 136 unchanged lines hidden (view full) --- 145void symbol__annotate_zero_histogram(struct symbol *sym, int evidx); 146void symbol__annotate_decay_histogram(struct symbol *sym, int evidx); 147void disasm__purge(struct list_head *head); 148 149int symbol__tty_annotate(struct symbol *sym, struct map *map, 150 struct perf_evsel *evsel, bool print_lines, 151 bool full_paths, int min_pcnt, int max_lines); 152 |
153#ifdef SLANG_SUPPORT | 153#ifdef HAVE_SLANG_SUPPORT |
154int symbol__tui_annotate(struct symbol *sym, struct map *map, 155 struct perf_evsel *evsel, 156 struct hist_browser_timer *hbt); 157#else 158static inline int symbol__tui_annotate(struct symbol *sym __maybe_unused, 159 struct map *map __maybe_unused, 160 struct perf_evsel *evsel __maybe_unused, 161 struct hist_browser_timer *hbt 162 __maybe_unused) 163{ 164 return 0; 165} 166#endif 167 | 154int symbol__tui_annotate(struct symbol *sym, struct map *map, 155 struct perf_evsel *evsel, 156 struct hist_browser_timer *hbt); 157#else 158static inline int symbol__tui_annotate(struct symbol *sym __maybe_unused, 159 struct map *map __maybe_unused, 160 struct perf_evsel *evsel __maybe_unused, 161 struct hist_browser_timer *hbt 162 __maybe_unused) 163{ 164 return 0; 165} 166#endif 167 |
168#ifdef GTK2_SUPPORT | 168#ifdef HAVE_GTK2_SUPPORT |
169int symbol__gtk_annotate(struct symbol *sym, struct map *map, 170 struct perf_evsel *evsel, 171 struct hist_browser_timer *hbt); 172 173static inline int hist_entry__gtk_annotate(struct hist_entry *he, 174 struct perf_evsel *evsel, 175 struct hist_browser_timer *hbt) 176{ --- 18 unchanged lines hidden --- | 169int symbol__gtk_annotate(struct symbol *sym, struct map *map, 170 struct perf_evsel *evsel, 171 struct hist_browser_timer *hbt); 172 173static inline int hist_entry__gtk_annotate(struct hist_entry *he, 174 struct perf_evsel *evsel, 175 struct hist_browser_timer *hbt) 176{ --- 18 unchanged lines hidden --- |