perf session: create_kernel_maps should use ->host_machine
[deliverable/linux.git] / tools / perf / util / hist.h
... / ...
CommitLineData
1#ifndef __PERF_HIST_H
2#define __PERF_HIST_H
3
4#include <linux/types.h>
5#include "callchain.h"
6
7extern struct callchain_param callchain_param;
8
9struct perf_session;
10struct hist_entry;
11struct addr_location;
12struct symbol;
13struct rb_root;
14
15struct hist_entry *__perf_session__add_hist_entry(struct rb_root *hists,
16 struct addr_location *al,
17 struct symbol *parent,
18 u64 count);
19extern int64_t hist_entry__cmp(struct hist_entry *, struct hist_entry *);
20extern int64_t hist_entry__collapse(struct hist_entry *, struct hist_entry *);
21int hist_entry__fprintf(struct hist_entry *self,
22 struct perf_session *pair_session,
23 bool show_displacement,
24 long displacement, FILE *fp,
25 u64 session_total);
26int hist_entry__snprintf(struct hist_entry *self,
27 char *bf, size_t size,
28 struct perf_session *pair_session,
29 bool show_displacement, long displacement,
30 bool color, u64 session_total);
31void hist_entry__free(struct hist_entry *);
32
33u64 perf_session__output_resort(struct rb_root *hists, u64 total_samples);
34void perf_session__collapse_resort(struct rb_root *hists);
35size_t perf_session__fprintf_hists(struct rb_root *hists,
36 struct perf_session *pair,
37 bool show_displacement, FILE *fp,
38 u64 session_total);
39#endif /* __PERF_HIST_H */
This page took 0.02491 seconds and 5 git commands to generate.