Home
last modified time | relevance | path

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

/tools/perf/util/
Dsort.h82 struct hist_entry { struct
133 struct hist_entry *parent_he; argument
146 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument
151 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair()
154 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
158 static inline void hist_entry__add_pair(struct hist_entry *pair, in hist_entry__add_pair()
159 struct hist_entry *he) in hist_entry__add_pair()
164 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit()
247 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *);
248 int64_t (*se_collapse)(struct hist_entry *, struct hist_entry *);
[all …]
Dhist.c14 struct hist_entry *he);
16 struct hist_entry *he);
18 struct hist_entry *he);
20 struct hist_entry *he);
59 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len()
200 struct hist_entry *n; in hists__output_recalc_col_len()
206 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
261 static void hists__delete_entry(struct hists *hists, struct hist_entry *he);
263 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry()
285 struct hist_entry *child; in hists__decay_entry()
[all …]
Dhist.h12 struct hist_entry;
109 struct hist_entry *he;
124 struct hist_entry *hists__add_entry(struct hists *hists,
132 struct hist_entry *hists__add_entry_ops(struct hists *hists,
147 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right);
148 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right);
150 int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size,
152 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp,
154 void hist_entry__delete(struct hist_entry *he);
156 typedef int (*hists__resort_cb_t)(struct hist_entry *he);
[all …]
Dsort.c72 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp()
77 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf()
87 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter()
108 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp()
115 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse()
122 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort()
127 static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf, in hist_entry__comm_snprintf()
166 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp()
183 static int hist_entry__dso_snprintf(struct hist_entry *he, char *bf, in hist_entry__dso_snprintf()
189 static int hist_entry__dso_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__dso_filter()
[all …]
Dtop.h32 struct hist_entry *sym_filter_entry;
Dcallchain.h214 struct hist_entry;
229 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample);
Dannotate.h154 int hist_entry__inc_addr_samples(struct hist_entry *he, int evidx, u64 addr);
Dcallchain.c810 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample) in hist_entry__append_callchain()
Dannotate.c708 int hist_entry__inc_addr_samples(struct hist_entry *he, int evidx, u64 ip) in hist_entry__inc_addr_samples()
/tools/perf/tests/
Dhists_output.c90 struct hist_entry *he; in del_hist_entries()
105 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
125 struct hist_entry *he; in test1()
163 he = rb_entry(node, struct hist_entry, rb_node); in test1()
169 he = rb_entry(node, struct hist_entry, rb_node); in test1()
175 he = rb_entry(node, struct hist_entry, rb_node); in test1()
181 he = rb_entry(node, struct hist_entry, rb_node); in test1()
187 he = rb_entry(node, struct hist_entry, rb_node); in test1()
193 he = rb_entry(node, struct hist_entry, rb_node); in test1()
199 he = rb_entry(node, struct hist_entry, rb_node); in test1()
[all …]
Dhists_common.c172 struct hist_entry *he; in print_hists_in()
174 he = rb_entry(node, struct hist_entry, rb_node_in); in print_hists_in()
199 struct hist_entry *he; in print_hists_out()
201 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out()
Dhists_link.c66 struct hist_entry *he; in add_hist_entries()
155 struct hist_entry *he; in __validate_match()
157 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match()
207 struct hist_entry *he; in __validate_link()
209 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_link()
Dhists_cumulate.c124 struct hist_entry *he; in del_hist_entries()
139 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
178 struct hist_entry *he; in do_test()
200 node && (he = rb_entry(node, struct hist_entry, rb_node)); in do_test()
/tools/perf/
Dbuiltin-diff.c220 static double period_percent(struct hist_entry *he, u64 period) in period_percent()
227 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta()
237 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio()
247 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff()
259 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta()
276 static int formula_ratio(struct hist_entry *he, struct hist_entry *pair, in formula_ratio()
285 static int formula_wdiff(struct hist_entry *he, struct hist_entry *pair, in formula_wdiff()
296 static int formula_fprintf(struct hist_entry *he, struct hist_entry *pair, in formula_fprintf()
394 static struct hist_entry*
395 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data()
[all …]
Dbuiltin-annotate.c153 struct hist_entry *he; in perf_evsel__add_sample()
220 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate()
236 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
254 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
Dbuiltin-top.c97 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source()
151 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters()
185 struct hist_entry *he, in perf_top__record_precise_ip()
227 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details()
349 struct hist_entry *syme = top->sym_filter_entry, *n, *found = NULL; in perf_top__prompt_symbol()
370 n = rb_entry(next, struct hist_entry, rb_node); in perf_top__prompt_symbol()
533 struct hist_entry *syme = top->sym_filter_entry; in perf_top__handle_keypress()
670 struct hist_entry *he = iter->he; in hist_iter__top_callback()
Dbuiltin-report.c106 struct hist_entry *he = iter->he; in hist_iter__report_callback()
/tools/perf/ui/
Dhist.c19 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt()
42 struct hist_entry *pair; in __hpp__fmt()
109 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt()
128 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc()
148 static int __hpp__sort(struct hist_entry *a, struct hist_entry *b, in __hpp__sort()
154 struct hist_entry *pair; in __hpp__sort()
195 static int __hpp__sort_acc(struct hist_entry *a, struct hist_entry *b, in __hpp__sort_acc()
270 static u64 he_get_##_field(struct hist_entry *he) \
276 struct perf_hpp *hpp, struct hist_entry *he) \
284 struct perf_hpp *hpp, struct hist_entry *he) \
[all …]
/tools/perf/ui/gtk/
Dgtk.h56 struct hist_entry;
62 int hist_entry__gtk_annotate(struct hist_entry *he,
Dhists.c39 static u64 he_get_##_field(struct hist_entry *he) \
46 struct hist_entry *he) \
53 static u64 he_get_acc_##_field(struct hist_entry *he) \
60 struct hist_entry *he) \
354 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in perf_gtk__show_hists()
408 struct hist_entry *he; in perf_gtk__add_hierarchy_entries()
419 he = rb_entry(node, struct hist_entry, rb_node); in perf_gtk__add_hierarchy_entries()
Dannotate.c233 int hist_entry__gtk_annotate(struct hist_entry *he, in hist_entry__gtk_annotate()
/tools/perf/ui/browsers/
Dhists.c45 struct hist_entry *he = in hist_browser__get_folding()
46 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding()
132 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded()
241 static int hierarchy_count_rows(struct hist_browser *hb, struct hist_entry *he, in hierarchy_count_rows()
246 struct hist_entry *child; in hierarchy_count_rows()
258 child = rb_entry(node, struct hist_entry, rb_node); in hierarchy_count_rows()
273 static bool hist_entry__toggle_fold(struct hist_entry *he) in hist_entry__toggle_fold()
350 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children()
367 struct hist_entry *he = browser->he_selection; in hist_browser__toggle_fold()
486 static int hierarchy_set_folding(struct hist_browser *hb, struct hist_entry *he, in hierarchy_set_folding()
[all …]
Dhists.h9 struct hist_entry *he_selection;
Dannotate.c886 int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel, in hist_entry__tui_annotate()
/tools/perf/ui/stdio/
Dhist.c343 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf()
376 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf()
414 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf()
419 static int hist_entry__hierarchy_fprintf(struct hist_entry *he, in hist_entry__hierarchy_fprintf()
500 static int hist_entry__fprintf(struct hist_entry *he, size_t size, in hist_entry__fprintf()
758 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__fprintf()