/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | sort.h | 85 * struct hist_entry - histogram entry 90 struct hist_entry { struct 155 struct hist_entry *parent_he; 168 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() 173 int hist_entry__sym_snprintf(struct hist_entry *he, char *bf, size_t size, unsigned int width); 175 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() 180 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() 183 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair() 187 static inline void hist_entry__add_pair(struct hist_entry *pai [all...] |
H A D | hist.c | 35 struct hist_entry *he); 37 struct hist_entry *he); 39 struct hist_entry *he); 41 struct hist_entry *he); 80 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len() 256 struct hist_entry *n; in hists__output_recalc_col_len() 262 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len() 321 static void hists__delete_entry(struct hists *hists, struct hist_entry *he); 323 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry() 345 struct hist_entry *chil in hists__decay_entry() [all...] |
H A D | sort.c | 109 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() 114 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf() 124 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter() 145 sort__simd_cmp(struct hist_entry *left, struct hist_entry *right) in sort__simd_cmp() 163 static int hist_entry__simd_snprintf(struct hist_entry *he, char *bf, in hist_entry__simd_snprintf() 196 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp() 202 sort__comm_collapse(struct hist_entry *lef [all...] |
H A D | hist.h | 12 struct hist_entry; 135 struct hist_entry *he; 150 struct hist_entry *hists__add_entry(struct hists *hists, 159 struct hist_entry *hists__add_entry_ops(struct hists *hists, 169 struct hist_entry *hists__add_entry_block(struct hists *hists, 179 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right); 180 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right); 182 int hist_entry__sort_snprintf(struct hist_entry *h [all...] |
H A D | block-info.h | 65 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right); 68 struct hist_entry *left, struct hist_entry *right); 70 int block_info__process_sym(struct hist_entry *he, struct block_hist *bh, 84 float block_info__total_cycles_percent(struct hist_entry *he);
|
H A D | block-info.c | 68 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right) in __block_info__cmp() 94 struct hist_entry *left, struct hist_entry *right) in block_info__cmp() 116 int block_info__process_sym(struct hist_entry *he, struct block_hist *bh, in block_info__process_sym() 138 struct hist_entry *he_block; in block_info__process_sym() 197 struct hist_entry *he) in block_total_cycles_pct_entry() 210 struct hist_entry *left, in block_total_cycles_pct_sort() 211 struct hist_entry *right) in block_total_cycles_pct_sort() 240 struct perf_hpp *hpp, struct hist_entry *h in block_cycles_lbr_entry() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | sort.h | 86 * struct hist_entry - histogram entry 91 struct hist_entry { struct 150 struct hist_entry *parent_he; 163 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() 168 int hist_entry__sym_snprintf(struct hist_entry *he, char *bf, size_t size, unsigned int width); 170 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() 175 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() 178 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair() 182 static inline void hist_entry__add_pair(struct hist_entry *pai [all...] |
H A D | hist.c | 34 struct hist_entry *he); 36 struct hist_entry *he); 38 struct hist_entry *he); 40 struct hist_entry *he); 79 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len() 242 struct hist_entry *n; in hists__output_recalc_col_len() 248 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len() 311 static void hists__delete_entry(struct hists *hists, struct hist_entry *he); 313 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry() 335 struct hist_entry *chil in hists__decay_entry() [all...] |
H A D | hist.h | 12 struct hist_entry; 123 struct hist_entry *he; 138 struct hist_entry *hists__add_entry(struct hists *hists, 146 struct hist_entry *hists__add_entry_ops(struct hists *hists, 155 struct hist_entry *hists__add_entry_block(struct hists *hists, 165 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right); 166 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right); 168 int hist_entry__sort_snprintf(struct hist_entry *h [all...] |
H A D | sort.c | 95 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() 100 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf() 110 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter() 136 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp() 142 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse() 148 sort__comm_sort(struct hist_entry *left, struct hist_entry *righ [all...] |
H A D | block-info.h | 65 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right); 68 struct hist_entry *left, struct hist_entry *right); 70 int block_info__process_sym(struct hist_entry *he, struct block_hist *bh, 84 float block_info__total_cycles_percent(struct hist_entry *he);
|
H A D | block-info.c | 68 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right) in __block_info__cmp() 94 struct hist_entry *left, struct hist_entry *right) in block_info__cmp() 116 int block_info__process_sym(struct hist_entry *he, struct block_hist *bh, in block_info__process_sym() 138 struct hist_entry *he_block; in block_info__process_sym() 197 struct hist_entry *he) in block_total_cycles_pct_entry() 210 struct hist_entry *left, in block_total_cycles_pct_sort() 211 struct hist_entry *right) in block_total_cycles_pct_sort() 240 struct perf_hpp *hpp, struct hist_entry *h in block_cycles_lbr_entry() [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | hists_output.c | 94 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_nod in test1() [all...] |
H A D | hists_common.c | 177 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()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | hists_output.c | 97 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_nod in test1() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-diff.c | 272 static double period_percent(struct hist_entry *he, u64 period) in period_percent() 279 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() 289 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() 299 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff() 311 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta() 328 static int formula_ratio(struct hist_entry *h [all...] |
H A D | builtin-c2c.c | 77 struct hist_entry he; 186 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists() 266 struct hist_entry *he; in process_sample_event() 405 struct hist_entry *, struct hist_entry *); 407 struct hist_entry *he); 409 struct hist_entry *he); 491 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp() 497 struct hist_entry *h in dcacheline_entry() [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-diff.c | 272 static double period_percent(struct hist_entry *he, u64 period) in period_percent() 279 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() 289 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() 299 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff() 311 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta() 328 static int formula_ratio(struct hist_entry *h [all...] |
H A D | builtin-c2c.c | 81 struct hist_entry he; 200 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists() 284 struct hist_entry *he; in process_sample_event() 433 struct hist_entry *, struct hist_entry *); 435 struct hist_entry *he); 437 struct hist_entry *he); 519 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp() 525 struct hist_entry *h in dcacheline_entry() [all...] |
H A D | builtin-kvm.c | 92 int64_t (*cmp)(struct perf_hpp_fmt *fmt, struct hist_entry *left, 93 struct hist_entry *right); 95 struct hist_entry *he); 106 struct hist_entry *left, in ev_name_cmp() 107 struct hist_entry *right) in ev_name_cmp() 118 struct hist_entry *he) in ev_name_entry() 135 struct hist_entry *left, \ 136 struct hist_entry *right) \ 159 struct hist_entry *he) \ 209 struct hist_entry *h in ev_entry_mean() [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/ |
H A D | hist.c | 25 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 hist_entry__new_pair(struct hist_entry *a, struct hist_entry *b, in hist_entry__new_pair() 160 struct hist_entry *pair; in hist_entry__new_pair() 185 static int __hpp__group_sort_idx(struct hist_entry *a, struct hist_entry *b, in __hpp__group_sort_idx() 225 static int __hpp__sort(struct hist_entry * [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/ |
H A D | hist.c | 26 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() 49 struct hist_entry *pair; in __hpp__fmt() 116 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() 135 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() 155 static int hist_entry__new_pair(struct hist_entry *a, struct hist_entry *b, in hist_entry__new_pair() 161 struct hist_entry *pair; in hist_entry__new_pair() 186 static int __hpp__group_sort_idx(struct hist_entry *a, struct hist_entry *b, in __hpp__group_sort_idx() 226 static int __hpp__sort(struct hist_entry * [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
H A D | hists.c | 70 struct hist_entry *he = in hist_browser__get_folding() 71 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding() 131 /* 3 == +/- toggle symbol before actual hist_entry rendering */ in hist_browser__refresh_dimensions() 161 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded() 272 static int hierarchy_count_rows(struct hist_browser *hb, struct hist_entry *he, in hierarchy_count_rows() 277 struct hist_entry *child; in hierarchy_count_rows() 289 child = rb_entry(node, struct hist_entry, rb_node); in hierarchy_count_rows() 304 static bool hist_entry__toggle_fold(struct hist_entry *he) in hist_entry__toggle_fold() 381 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children() 398 struct hist_entry *h in hist_browser__selection_has_children() [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/browsers/ |
H A D | hists.c | 70 struct hist_entry *he = in hist_browser__get_folding() 71 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding() 131 /* 3 == +/- toggle symbol before actual hist_entry rendering */ in hist_browser__refresh_dimensions() 161 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded() 272 static int hierarchy_count_rows(struct hist_browser *hb, struct hist_entry *he, in hierarchy_count_rows() 277 struct hist_entry *child; in hierarchy_count_rows() 289 child = rb_entry(node, struct hist_entry, rb_node); in hierarchy_count_rows() 304 static bool hist_entry__toggle_fold(struct hist_entry *he) in hist_entry__toggle_fold() 381 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children() 398 struct hist_entry *h in hist_browser__selection_has_children() [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/gtk/ |
H A D | gtk.h | 57 struct hist_entry; 63 int hist_entry__gtk_annotate(struct hist_entry *he,
|