4 #include <linux/types.h>
7 extern struct callchain_param callchain_param;
15 struct hist_entry *__perf_session__add_hist_entry(struct rb_root *hists,
16 struct addr_location *al,
17 struct symbol *parent,
18 u64 count, bool *hit);
19 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 *);
21 size_t hist_entry__fprintf(struct hist_entry *self,
22 struct perf_session *pair_session,
23 bool show_displacement,
24 long displacement, FILE *fp,
26 void hist_entry__free(struct hist_entry *);
28 void perf_session__output_resort(struct rb_root *hists, u64 total_samples);
29 void perf_session__collapse_resort(struct rb_root *hists);
30 size_t perf_session__fprintf_hists(struct rb_root *hists,
31 struct perf_session *pair,
32 bool show_displacement, FILE *fp,
34 #endif /* __PERF_HIST_H */