Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dsort.h87 struct hist_entry { struct
145 struct hist_entry *parent_he; argument
158 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
163 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs()
168 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair()
171 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
175 static inline void hist_entry__add_pair(struct hist_entry *pair, in hist_entry__add_pair()
176 struct hist_entry *he) in hist_entry__add_pair()
181 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit()
259 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *);
[all …]
Dhist.c32 struct hist_entry *he);
34 struct hist_entry *he);
36 struct hist_entry *he);
38 struct hist_entry *he);
77 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len()
227 struct hist_entry *n; in hists__output_recalc_col_len()
233 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
296 static void hists__delete_entry(struct hists *hists, struct hist_entry *he);
298 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry()
320 struct hist_entry *child; in hists__decay_entry()
[all …]
Dhist.h12 struct hist_entry;
122 struct hist_entry *he;
137 struct hist_entry *hists__add_entry(struct hists *hists,
145 struct hist_entry *hists__add_entry_ops(struct hists *hists,
154 struct hist_entry *hists__add_entry_block(struct hists *hists,
164 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right);
165 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right);
167 int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size,
169 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp,
171 void hist_entry__delete(struct hist_entry *he);
[all …]
Dsort.c92 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp()
97 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf()
107 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter()
133 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp()
139 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse()
145 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort()
150 static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf, in hist_entry__comm_snprintf()
189 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp()
206 static int hist_entry__dso_snprintf(struct hist_entry *he, char *bf, in hist_entry__dso_snprintf()
212 static int hist_entry__dso_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__dso_filter()
[all …]
Dtop.h39 struct hist_entry *sym_filter_entry;
Dmem-events.h80 struct hist_entry;
Dcallchain.h230 struct hist_entry;
245 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample);
Dannotate.h16 struct hist_entry;
344 int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample,
/tools/perf/tests/
Dhists_output.c94 struct hist_entry *he; in del_hist_entries()
109 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
129 struct hist_entry *he; in test1()
167 he = rb_entry(node, struct hist_entry, rb_node); in test1()
173 he = rb_entry(node, struct hist_entry, rb_node); in test1()
179 he = rb_entry(node, struct hist_entry, rb_node); in test1()
185 he = rb_entry(node, struct hist_entry, rb_node); in test1()
191 he = rb_entry(node, struct hist_entry, rb_node); in test1()
197 he = rb_entry(node, struct hist_entry, rb_node); in test1()
203 he = rb_entry(node, struct hist_entry, rb_node); in test1()
[all …]
Dhists_common.c177 struct hist_entry *he; in print_hists_in()
179 he = rb_entry(node, struct hist_entry, rb_node_in); in print_hists_in()
204 struct hist_entry *he; in print_hists_out()
206 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out()
Dhists_link.c68 struct hist_entry *he; in add_hist_entries()
157 struct hist_entry *he; in __validate_match()
159 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match()
209 struct hist_entry *he; in __validate_link()
211 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_link()
Dhists_cumulate.c128 struct hist_entry *he; in del_hist_entries()
143 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
182 struct hist_entry *he; in do_test()
204 node && (he = rb_entry(node, struct hist_entry, rb_node)); in do_test()
/tools/perf/
Dbuiltin-diff.c262 static double period_percent(struct hist_entry *he, u64 period) in period_percent()
269 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta()
279 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio()
289 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff()
301 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta()
318 static int formula_ratio(struct hist_entry *he, struct hist_entry *pair, in formula_ratio()
327 static int formula_wdiff(struct hist_entry *he, struct hist_entry *pair, in formula_wdiff()
338 static int formula_fprintf(struct hist_entry *he, struct hist_entry *pair, in formula_fprintf()
489 static struct hist_entry*
490 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data()
[all …]
Dbuiltin-c2c.c77 struct hist_entry he;
185 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists()
265 struct hist_entry *he; in process_sample_event()
401 struct hist_entry *, struct hist_entry *);
403 struct hist_entry *he);
405 struct hist_entry *he);
487 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp()
493 struct hist_entry *he) in dcacheline_entry()
507 struct hist_entry *he) in dcacheline_node_entry()
521 struct hist_entry *he) in dcacheline_node_count()
[all …]
Dbuiltin-annotate.c160 struct hist_entry *he = iter->he; in hist_iter__branch_callback()
222 struct hist_entry *he; in perf_evsel__add_sample()
299 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate()
317 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
339 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
Dbuiltin-top.c107 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source()
158 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters()
192 struct hist_entry *he, in perf_top__record_precise_ip()
235 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details()
390 struct hist_entry *syme = top->sym_filter_entry, *n, *found = NULL; in perf_top__prompt_symbol()
411 n = rb_entry(next, struct hist_entry, rb_node); in perf_top__prompt_symbol()
570 struct hist_entry *syme = top->sym_filter_entry; in perf_top__handle_keypress()
722 struct hist_entry *he = iter->he; in hist_iter__top_callback()
Dbuiltin-report.c141 struct hist_entry *he = iter->he; in hist_iter__report_callback()
182 struct hist_entry *he = iter->he; in hist_iter__branch_callback()
642 static int hists__resort_cb(struct hist_entry *he, void *arg) in hists__resort_cb()
/tools/perf/ui/
Dhist.c25 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt()
48 struct hist_entry *pair; in __hpp__fmt()
115 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt()
134 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc()
154 static int __hpp__sort(struct hist_entry *a, struct hist_entry *b, in __hpp__sort()
160 struct hist_entry *pair; in __hpp__sort()
201 static int __hpp__sort_acc(struct hist_entry *a, struct hist_entry *b, in __hpp__sort_acc()
278 static u64 he_get_##_field(struct hist_entry *he) \
284 struct perf_hpp *hpp, struct hist_entry *he) \
292 struct perf_hpp *hpp, struct hist_entry *he) \
[all …]
/tools/perf/ui/gtk/
Dgtk.h57 struct hist_entry;
63 int hist_entry__gtk_annotate(struct hist_entry *he,
Dhists.c44 static u64 he_get_##_field(struct hist_entry *he) \
51 struct hist_entry *he) \
58 static u64 he_get_acc_##_field(struct hist_entry *he) \
65 struct hist_entry *he) \
359 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in perf_gtk__show_hists()
414 struct hist_entry *he; in perf_gtk__add_hierarchy_entries()
425 he = rb_entry(node, struct hist_entry, rb_node); in perf_gtk__add_hierarchy_entries()
Dannotate.c241 int hist_entry__gtk_annotate(struct hist_entry *he, in hist_entry__gtk_annotate()
/tools/perf/ui/browsers/
Dhists.c67 struct hist_entry *he = in hist_browser__get_folding()
68 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding()
158 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded()
269 static int hierarchy_count_rows(struct hist_browser *hb, struct hist_entry *he, in hierarchy_count_rows()
274 struct hist_entry *child; in hierarchy_count_rows()
286 child = rb_entry(node, struct hist_entry, rb_node); in hierarchy_count_rows()
301 static bool hist_entry__toggle_fold(struct hist_entry *he) in hist_entry__toggle_fold()
378 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children()
395 struct hist_entry *he = browser->he_selection; in hist_browser__toggle_fold()
515 static int hierarchy_set_folding(struct hist_browser *hb, struct hist_entry *he, in hierarchy_set_folding()
[all …]
Dhists.h12 struct hist_entry *he_selection;
Dannotate.c880 int hist_entry__tui_annotate(struct hist_entry *he, struct evsel *evsel, in hist_entry__tui_annotate()
/tools/perf/ui/stdio/
Dhist.c380 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf()
413 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf()
451 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf()
456 static int hist_entry__hierarchy_fprintf(struct hist_entry *he, in hist_entry__hierarchy_fprintf()
537 static int hist_entry__block_fprintf(struct hist_entry *he, in hist_entry__block_fprintf()
561 static int hist_entry__fprintf(struct hist_entry *he, size_t size, in hist_entry__fprintf()
831 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__fprintf()

12