3 #include "../builtin.h"
8 #include <linux/list.h>
10 #include <linux/rbtree.h>
13 #include "callchain.h"
21 #include "parse-options.h"
22 #include "parse-events.h"
27 extern struct rb_root hist;
29 extern struct callchain_param callchain_param;
31 struct hist_entry *__hist_entry__add(struct addr_location *al,
32 struct symbol *parent,
33 u64 count, bool *hit);
34 extern int64_t hist_entry__cmp(struct hist_entry *, struct hist_entry *);
35 extern int64_t hist_entry__collapse(struct hist_entry *, struct hist_entry *);
36 extern void hist_entry__free(struct hist_entry *);
37 extern void collapse__resort(void);
38 extern void output__resort(u64);
40 #endif /* __PERF_HIST_H */