Home
last modified time | relevance | path

Searched refs:hist_entry (Results 1 – 16 of 16) sorted by relevance

/tools/perf/util/
Dhist.h11 struct hist_entry;
82 struct hist_entry *__hists__add_entry(struct hists *self,
86 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right);
87 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right);
88 int hist_entry__sort_snprintf(struct hist_entry *self, char *bf, size_t size,
90 void hist_entry__free(struct hist_entry *);
92 struct hist_entry *__hists__add_branch_entry(struct hists *self,
99 struct hist_entry *__hists__add_mem_entry(struct hists *self,
116 void hists__inc_nr_entries(struct hists *hists, struct hist_entry *h);
124 int hist_entry__inc_addr_samples(struct hist_entry *self, int evidx, u64 addr);
[all …]
Dsort.h75 struct hist_entry { struct
108 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument
113 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair()
116 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
120 static inline void hist_entry__add_pair(struct hist_entry *he, in hist_entry__add_pair()
121 struct hist_entry *pair) in hist_entry__add_pair()
162 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *);
163 int64_t (*se_collapse)(struct hist_entry *, struct hist_entry *);
164 int (*se_snprintf)(struct hist_entry *self, char *bf, size_t size,
Dhist.c11 struct hist_entry *he);
13 struct hist_entry *he);
15 struct hist_entry *he);
67 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len()
163 struct hist_entry *n; in hists__output_recalc_col_len()
169 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
176 static void hist_entry__add_cpumode_period(struct hist_entry *he, in hist_entry__add_cpumode_period()
217 static void hist_entry__decay(struct hist_entry *he) in hist_entry__decay()
224 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry()
243 struct hist_entry *n; in __hists__decay_entries()
[all …]
Dsort.c55 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp()
60 static int hist_entry__thread_snprintf(struct hist_entry *self, char *bf, in hist_entry__thread_snprintf()
77 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp()
83 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse()
94 static int hist_entry__comm_snprintf(struct hist_entry *self, char *bf, in hist_entry__comm_snprintf()
131 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp()
148 static int hist_entry__dso_snprintf(struct hist_entry *self, char *bf, in hist_entry__dso_snprintf()
180 sort__sym_cmp(struct hist_entry *left, struct hist_entry *right) in sort__sym_cmp()
224 static int hist_entry__sym_snprintf(struct hist_entry *self, char *bf, in hist_entry__sym_snprintf()
241 sort__srcline_cmp(struct hist_entry *left, struct hist_entry *right) in sort__srcline_cmp()
[all …]
Dtop.h33 struct hist_entry *sym_filter_entry;
Dannotate.h173 static inline int hist_entry__gtk_annotate(struct hist_entry *he, in hist_entry__gtk_annotate()
182 static inline int hist_entry__gtk_annotate(struct hist_entry *he __maybe_unused, in hist_entry__gtk_annotate()
/tools/perf/
Dbuiltin-diff.c148 double perf_diff__period_percent(struct hist_entry *he, u64 period) in perf_diff__period_percent()
154 double perf_diff__compute_delta(struct hist_entry *he, struct hist_entry *pair) in perf_diff__compute_delta()
164 double perf_diff__compute_ratio(struct hist_entry *he, struct hist_entry *pair) in perf_diff__compute_ratio()
174 s64 perf_diff__compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in perf_diff__compute_wdiff()
186 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta()
196 static int formula_ratio(struct hist_entry *he, struct hist_entry *pair, in formula_ratio()
205 static int formula_wdiff(struct hist_entry *he, struct hist_entry *pair, in formula_wdiff()
216 int perf_diff__formula(struct hist_entry *he, struct hist_entry *pair, in perf_diff__formula()
314 struct hist_entry *he = rb_entry(next, struct hist_entry, rb_node_in); in hists__baseline_only()
329 struct hist_entry *he = rb_entry(next, struct hist_entry, rb_node); in hists__precompute()
[all …]
Dbuiltin-annotate.c51 struct hist_entry *he; in perf_evsel__add_sample()
112 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate()
128 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
Dbuiltin-top.c95 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source()
144 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters()
178 struct hist_entry *he, in perf_top__record_precise_ip()
215 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details()
248 static struct hist_entry *perf_evsel__add_hist_entry(struct perf_evsel *evsel, in perf_evsel__add_hist_entry()
252 struct hist_entry *he; in perf_evsel__add_hist_entry()
343 struct hist_entry *syme = top->sym_filter_entry, *n, *found = NULL; in perf_top__prompt_symbol()
363 n = rb_entry(next, struct hist_entry, rb_node); in perf_top__prompt_symbol()
532 struct hist_entry *syme = top->sym_filter_entry; in perf_top__handle_keypress()
772 struct hist_entry *he; in perf_event__process_sample()
Dbuiltin-report.c79 struct hist_entry *he; in perf_report__add_mem_hist_entry()
171 struct hist_entry *he; in perf_report__add_branch_hist_entry()
244 struct hist_entry *he; in perf_evsel__add_hist_entry()
/tools/perf/ui/
Dhist.c12 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt()
13 u64 (*get_field)(struct hist_entry *), in __hpp__fmt() argument
34 struct hist_entry *pair; in __hpp__fmt()
108 static u64 he_get_##_field(struct hist_entry *he) \
113 static int hpp__color_##_type(struct perf_hpp *hpp, struct hist_entry *he) \
120 static int hpp__entry_##_type(struct perf_hpp *hpp, struct hist_entry *he) \
128 static u64 he_get_raw_##_field(struct hist_entry *he) \
133 static int hpp__entry_##_type(struct perf_hpp *hpp, struct hist_entry *he) \
171 static double baseline_percent(struct hist_entry *he) in baseline_percent()
173 struct hist_entry *pair = hist_entry__next_pair(he); in baseline_percent()
[all …]
/tools/perf/ui/gtk/
Dhists.c29 static int __hpp__color_fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_fmt()
30 u64 (*get_field)(struct hist_entry *)) in __hpp__color_fmt() argument
44 struct hist_entry *pair; in __hpp__color_fmt()
89 static u64 he_get_##_field(struct hist_entry *he) \
95 struct hist_entry *he) \
190 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in perf_gtk__show_hists()
/tools/perf/ui/browsers/
Dhists.c24 struct hist_entry *he_selection;
60 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded()
185 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children()
197 struct hist_entry *he = browser->he_selection; in hist_browser__toggle_fold()
270 static void hist_entry__set_folding(struct hist_entry *he, bool unfold) in hist_entry__set_folding()
289 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__set_folding()
349 struct hist_entry *h = rb_entry(browser->b.top, in hist_browser__run()
350 struct hist_entry, rb_node); in hist_browser__run()
584 static int __hpp__color_fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_fmt()
585 u64 (*get_field)(struct hist_entry *), in __hpp__color_fmt() argument
[all …]
Dannotate.c808 int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel, in hist_entry__tui_annotate()
/tools/perf/tests/
Dhists_link.c201 struct hist_entry *he; in add_hist_entries()
296 struct hist_entry *he; in __validate_match()
298 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match()
348 struct hist_entry *he; in __validate_link()
350 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_link()
420 struct hist_entry *he; in print_hists()
422 he = rb_entry(node, struct hist_entry, rb_node_in); in print_hists()
/tools/perf/ui/stdio/
Dhist.c269 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf()
294 static size_t hist_entry__callchain_fprintf(struct hist_entry *he, in hist_entry__callchain_fprintf()
311 static int hist_entry__fprintf(struct hist_entry *he, size_t size, in hist_entry__fprintf()
442 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__fprintf()