Home
last modified time | relevance | path

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

12

/linux/tools/perf/util/
H A Dsort.h120 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *);
121 int64_t (*se_collapse)(struct hist_entry *, struct hist_entry *);
122 int64_t (*se_sort)(struct hist_entry *, struct hist_entry *);
123 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size,
125 int (*se_filter)(struct hist_entry *he, int type, const void *arg);
126 void (*se_init)(struct hist_entry *he);
153 sort__iaddr_cmp(struct hist_entry *left, struct hist_entry *right);
155 sort__daddr_cmp(struct hist_entry *left, struct hist_entry *right);
157 sort__dcacheline_cmp(struct hist_entry *left, struct hist_entry *right);
160 char *hist_entry__srcline(struct hist_entry *he);
H A Dhist.c35 static int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right);
36 static int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right);
39 struct hist_entry *he);
41 struct hist_entry *he);
43 struct hist_entry *he);
45 struct hist_entry *he);
47 struct hist_entry *he);
86 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len()
266 struct hist_entry *n; in hists__output_recalc_col_len()
272 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
[all …]
H A Dsort.c111 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp()
116 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf()
126 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter()
147 sort__tgid_cmp(struct hist_entry *left, struct hist_entry *right) in sort__tgid_cmp()
152 static int hist_entry__tgid_snprintf(struct hist_entry *he, char *bf, in hist_entry__tgid_snprintf()
184 sort__simd_cmp(struct hist_entry *left, struct hist_entry *right) in sort__simd_cmp()
202 static int hist_entry__simd_snprintf(struct hist_entry *he, char *bf, in hist_entry__simd_snprintf()
235 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp()
241 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse()
247 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort()
[all …]
H A Dhist.h160 struct hist_entry *he;
165 struct hist_entry **he_cache;
238 struct hist_entry { struct
307 struct hist_entry *parent_he; argument
321 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
326 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs()
331 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair()
334 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
338 static inline void hist_entry__add_pair(struct hist_entry *pair, in hist_entry__add_pair()
339 struct hist_entry *he) in hist_entry__add_pair()
[all …]
H A Dblock-info.h55 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right);
58 struct hist_entry *left, struct hist_entry *right);
60 int block_info__process_sym(struct hist_entry *he, struct block_hist *bh,
74 float block_info__total_cycles_percent(struct hist_entry *he);
H A Dblock-info.c72 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right) in __block_info__cmp()
98 struct hist_entry *left, struct hist_entry *right) in block_info__cmp()
128 int block_info__process_sym(struct hist_entry *he, struct block_hist *bh, in block_info__process_sym()
151 struct hist_entry *he_block; in block_info__process_sym()
212 struct hist_entry *he) in block_total_cycles_pct_entry()
225 struct hist_entry *left, in block_total_cycles_pct_sort()
226 struct hist_entry *right) in block_total_cycles_pct_sort()
255 struct perf_hpp *hpp, struct hist_entry *he) in block_cycles_lbr_entry()
268 struct perf_hpp *hpp, struct hist_entry *he) in block_cycles_pct_entry()
285 struct hist_entry *he) in block_avg_cycles_entry()
[all …]
H A Dannotate-data.h20 struct hist_entry;
243 int hist_entry__annotate_data_tty(struct hist_entry *he, struct evsel *evsel);
291 static inline int hist_entry__annotate_data_tty(struct hist_entry *he __maybe_unused, in hist_entry__annotate_data_tty()
308 int hist_entry__annotate_data_tui(struct hist_entry *he, struct evsel *evsel,
311 static inline int hist_entry__annotate_data_tui(struct hist_entry *he __maybe_unused, in hist_entry__annotate_data_tui()
H A Dannotate.h21 struct hist_entry;
203 struct hist_entry *he;
436 int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample,
479 struct hist_entry *he);
483 int hist_entry__annotate_printf(struct hist_entry *he, struct evsel *evsel);
484 int hist_entry__tty_annotate(struct hist_entry *he, struct evsel *evsel);
485 int hist_entry__tty_annotate2(struct hist_entry *he, struct evsel *evsel);
553 struct annotated_data_type *hist_entry__get_data_type(struct hist_entry *he);
H A Dtop.h43 struct hist_entry *sym_filter_entry;
H A Dcallchain.h241 struct hist_entry;
256 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample);
/linux/tools/perf/
H A Dbuiltin-diff.c271 static double period_percent(struct hist_entry *he, u64 period) in period_percent()
278 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta()
288 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio()
298 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff()
310 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta()
327 static int formula_ratio(struct hist_entry *he, struct hist_entry *pair, in formula_ratio()
336 static int formula_wdiff(struct hist_entry *he, struct hist_entry *pair, in formula_wdiff()
347 static int formula_fprintf(struct hist_entry *he, struct hist_entry *pair, in formula_fprintf()
504 static struct hist_entry*
505 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data()
[all …]
H A Dbuiltin-c2c.c85 struct hist_entry he;
205 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists()
303 struct hist_entry *he, in perf_c2c__evsel_hists_inc_stats()
323 struct hist_entry *he; in process_sample_event()
454 struct hist_entry *, struct hist_entry *);
456 struct hist_entry *he);
458 struct hist_entry *he);
540 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp()
546 struct hist_entry *he) in dcacheline_entry()
560 struct hist_entry *he) in dcacheline_node_entry()
[all …]
H A Dbuiltin-kvm.c93 int64_t (*cmp)(struct perf_hpp_fmt *fmt, struct hist_entry *left,
94 struct hist_entry *right);
96 struct hist_entry *he);
107 struct hist_entry *left, in ev_name_cmp()
108 struct hist_entry *right) in ev_name_cmp()
119 struct hist_entry *he) in ev_name_entry()
136 struct hist_entry *left, \
137 struct hist_entry *right) \
160 struct hist_entry *he) \
210 struct hist_entry *he) in ev_entry_mean()
[all …]
H A Dbuiltin-annotate.c177 struct hist_entry *he = iter->he; in hist_iter__branch_callback()
244 struct hist_entry *he; in evsel__add_sample()
325 static int hist_entry__stdio_annotate(struct hist_entry *he, in hist_entry__stdio_annotate()
422 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
505 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
/linux/tools/perf/tests/
H A Dhists_output.c97 struct hist_entry *he; in del_hist_entries()
112 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
142 struct hist_entry *he; in test1()
180 he = rb_entry(node, struct hist_entry, rb_node); in test1()
186 he = rb_entry(node, struct hist_entry, rb_node); in test1()
192 he = rb_entry(node, struct hist_entry, rb_node); in test1()
198 he = rb_entry(node, struct hist_entry, rb_node); in test1()
204 he = rb_entry(node, struct hist_entry, rb_node); in test1()
210 he = rb_entry(node, struct hist_entry, rb_node); in test1()
216 he = rb_entry(node, struct hist_entry, rb_node); in test1()
[all …]
H A 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()
206 struct hist_entry *he; in print_hists_out()
208 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out()
H A Dhists_link.c70 struct hist_entry *he; in add_hist_entries()
176 struct hist_entry *he; in __validate_match()
178 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match()
228 struct hist_entry *he; in __validate_link()
230 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_link()
H A Dhists_cumulate.c132 struct hist_entry *he; in del_hist_entries()
147 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
195 struct hist_entry *he; in do_test()
217 node && (he = rb_entry(node, struct hist_entry, rb_node)); in do_test()
/linux/tools/perf/ui/
H A Dhist.c59 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt()
84 struct hist_entry *pair; in __hpp__fmt()
124 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt()
144 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc()
157 struct hist_entry *he, enum mem_stat_type mst, in hpp__fmt_mem_stat()
207 static int hist_entry__new_pair(struct hist_entry *a, struct hist_entry *b, in hist_entry__new_pair()
213 struct hist_entry *pair; in hist_entry__new_pair()
238 static int __hpp__group_sort_idx(struct hist_entry *a, struct hist_entry *b, in __hpp__group_sort_idx()
278 static int __hpp__sort(struct hist_entry *a, struct hist_entry *b, in __hpp__sort()
317 static int __hpp__sort_acc(struct hist_entry *a, struct hist_entry *b, in __hpp__sort_acc()
[all …]
/linux/tools/perf/ui/browsers/
H A Dhists.c71 struct hist_entry *he = in hist_browser__get_folding()
72 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding()
162 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded()
273 static int hierarchy_count_rows(struct hist_browser *hb, struct hist_entry *he, in hierarchy_count_rows()
278 struct hist_entry *child; in hierarchy_count_rows()
290 child = rb_entry(node, struct hist_entry, rb_node); in hierarchy_count_rows()
305 static bool hist_entry__toggle_fold(struct hist_entry *he) in hist_entry__toggle_fold()
382 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children()
399 struct hist_entry *he = browser->he_selection; in hist_browser__selection_has_children()
413 struct hist_entry *he = browser->he_selection; in hist_browser__selection_unfolded()
[all …]
H A Dannotate-data.c155 struct hist_entry *he = browser->b.priv; in annotated_data_browser__collect_entries()
336 struct hist_entry *he = uib->priv; in browser__show()
392 struct hist_entry *he = uib->priv; in browser__write()
570 int hist_entry__annotate_data_tui(struct hist_entry *he, struct evsel *evsel, in hist_entry__annotate_data_tui()
H A Dhists.h12 struct hist_entry *he_selection;
/linux/tools/perf/ui/gtk/
H A Dgtk.h57 struct hist_entry;
62 int hist_entry__gtk_annotate(struct hist_entry *he,
H A 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()
/linux/tools/perf/ui/stdio/
H A Dhist.c385 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf()
418 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf()
456 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf()
461 static int hist_entry__hierarchy_fprintf(struct hist_entry *he, in hist_entry__hierarchy_fprintf()
542 static int hist_entry__block_fprintf(struct hist_entry *he, in hist_entry__block_fprintf()
566 static int hist_entry__individual_block_fprintf(struct hist_entry *he, in hist_entry__individual_block_fprintf()
585 static int hist_entry__fprintf(struct hist_entry *he, size_t size, in hist_entry__fprintf()
871 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__fprintf()

12