diff options
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r-- | tools/perf/util/annotate.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index e8c246ec53df..720f18195046 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h | |||
@@ -154,13 +154,15 @@ static inline struct annotation *symbol__annotation(struct symbol *sym) | |||
154 | return (void *)sym - symbol_conf.priv_size; | 154 | return (void *)sym - symbol_conf.priv_size; |
155 | } | 155 | } |
156 | 156 | ||
157 | int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, int evidx); | 157 | int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample, |
158 | int evidx); | ||
158 | 159 | ||
159 | int addr_map_symbol__account_cycles(struct addr_map_symbol *ams, | 160 | int addr_map_symbol__account_cycles(struct addr_map_symbol *ams, |
160 | struct addr_map_symbol *start, | 161 | struct addr_map_symbol *start, |
161 | unsigned cycles); | 162 | unsigned cycles); |
162 | 163 | ||
163 | int hist_entry__inc_addr_samples(struct hist_entry *he, int evidx, u64 addr); | 164 | int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample, |
165 | int evidx, u64 addr); | ||
164 | 166 | ||
165 | int symbol__alloc_hist(struct symbol *sym); | 167 | int symbol__alloc_hist(struct symbol *sym); |
166 | void symbol__annotate_zero_histograms(struct symbol *sym); | 168 | void symbol__annotate_zero_histograms(struct symbol *sym); |