aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h6
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
157int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, int evidx); 157int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample,
158 int evidx);
158 159
159int addr_map_symbol__account_cycles(struct addr_map_symbol *ams, 160int 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
163int hist_entry__inc_addr_samples(struct hist_entry *he, int evidx, u64 addr); 164int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample,
165 int evidx, u64 addr);
164 166
165int symbol__alloc_hist(struct symbol *sym); 167int symbol__alloc_hist(struct symbol *sym);
166void symbol__annotate_zero_histograms(struct symbol *sym); 168void symbol__annotate_zero_histograms(struct symbol *sym);