diff options
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index 16f360cce5bf..9df1c340ec92 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -12,15 +12,28 @@ struct addr_location; | |||
12 | struct symbol; | 12 | struct symbol; |
13 | struct rb_root; | 13 | struct rb_root; |
14 | 14 | ||
15 | void __perf_session__add_count(struct hist_entry *he, | ||
16 | struct addr_location *al, | ||
17 | u64 count); | ||
15 | struct hist_entry *__perf_session__add_hist_entry(struct rb_root *hists, | 18 | struct hist_entry *__perf_session__add_hist_entry(struct rb_root *hists, |
16 | struct addr_location *al, | 19 | struct addr_location *al, |
17 | struct symbol *parent, | 20 | struct symbol *parent, |
18 | u64 count, bool *hit); | 21 | u64 count, bool *hit); |
19 | extern int64_t hist_entry__cmp(struct hist_entry *, struct hist_entry *); | 22 | extern int64_t hist_entry__cmp(struct hist_entry *, struct hist_entry *); |
20 | extern int64_t hist_entry__collapse(struct hist_entry *, struct hist_entry *); | 23 | extern int64_t hist_entry__collapse(struct hist_entry *, struct hist_entry *); |
24 | int hist_entry__fprintf(struct hist_entry *self, | ||
25 | struct perf_session *pair_session, | ||
26 | bool show_displacement, | ||
27 | long displacement, FILE *fp, | ||
28 | u64 session_total); | ||
29 | int hist_entry__snprintf(struct hist_entry *self, | ||
30 | char *bf, size_t size, | ||
31 | struct perf_session *pair_session, | ||
32 | bool show_displacement, long displacement, | ||
33 | bool color, u64 session_total); | ||
21 | void hist_entry__free(struct hist_entry *); | 34 | void hist_entry__free(struct hist_entry *); |
22 | 35 | ||
23 | void perf_session__output_resort(struct rb_root *hists, u64 total_samples); | 36 | u64 perf_session__output_resort(struct rb_root *hists, u64 total_samples); |
24 | void perf_session__collapse_resort(struct rb_root *hists); | 37 | void perf_session__collapse_resort(struct rb_root *hists); |
25 | size_t perf_session__fprintf_hists(struct rb_root *hists, | 38 | size_t perf_session__fprintf_hists(struct rb_root *hists, |
26 | struct perf_session *pair, | 39 | struct perf_session *pair, |