/linux-6.6.21/tools/perf/util/ |
D | sort.h | 90 struct hist_entry { struct 155 struct hist_entry *parent_he; argument 168 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument 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 *pair, in hist_entry__add_pair() 188 struct hist_entry *he) in hist_entry__add_pair() 193 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit() [all …]
|
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 *child; in hists__decay_entry() [all …]
|
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 *left, struct hist_entry *right) in sort__comm_collapse() 208 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort() 213 static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf, in hist_entry__comm_snprintf() 252 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp() [all …]
|
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 *he, char *bf, size_t size, 184 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, 186 void hist_entry__delete(struct hist_entry *he); [all …]
|
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);
|
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 *he) in block_cycles_lbr_entry() 253 struct perf_hpp *hpp, struct hist_entry *he) in block_cycles_pct_entry() 270 struct hist_entry *he) in block_avg_cycles_entry() [all …]
|
D | stream.c | 99 static void update_hot_callchain(struct hist_entry *he, in update_hot_callchain() 118 struct hist_entry *he; in init_hot_callchain() 120 he = rb_entry(next, struct hist_entry, rb_node); in init_hot_callchain()
|
D | top.h | 44 struct hist_entry *sym_filter_entry;
|
D | callchain.h | 240 struct hist_entry; 255 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample);
|
D | mem-events.h | 93 struct hist_entry;
|
/linux-6.6.21/tools/perf/tests/ |
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_node); in test1() [all …]
|
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() 206 struct hist_entry *he; in print_hists_out() 208 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out()
|
D | hists_link.c | 70 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()
|
D | hists_cumulate.c | 132 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-6.6.21/tools/perf/ |
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 *he, struct hist_entry *pair, in formula_ratio() 337 static int formula_wdiff(struct hist_entry *he, struct hist_entry *pair, in formula_wdiff() 348 static int formula_fprintf(struct hist_entry *he, struct hist_entry *pair, in formula_fprintf() 519 static struct hist_entry* 520 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data() [all …]
|
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 *he) in dcacheline_entry() 539 struct hist_entry *he) in dcacheline_node_entry() 553 struct hist_entry *he) in dcacheline_node_count() [all …]
|
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 *he) in ev_entry_mean() [all …]
|
D | builtin-annotate.c | 167 struct hist_entry *he = iter->he; in hist_iter__branch_callback() 233 struct hist_entry *he; in evsel__add_sample() 313 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate() 331 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations() 364 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
|
D | builtin-top.c | 111 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() 163 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters() 198 struct hist_entry *he, in perf_top__record_precise_ip() 242 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details() 396 struct hist_entry *syme = top->sym_filter_entry, *n, *found = NULL; in perf_top__prompt_symbol() 417 n = rb_entry(next, struct hist_entry, rb_node); in perf_top__prompt_symbol() 576 struct hist_entry *syme = top->sym_filter_entry; in perf_top__handle_keypress()
|
/linux-6.6.21/tools/perf/ui/ |
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 *a, struct hist_entry *b, in __hpp__sort() 265 static int __hpp__sort_acc(struct hist_entry *a, struct hist_entry *b, in __hpp__sort_acc() 344 static u64 he_get_##_field(struct hist_entry *he) \ [all …]
|
/linux-6.6.21/tools/perf/ui/browsers/ |
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() 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 *he = browser->he_selection; in hist_browser__selection_has_children() 412 struct hist_entry *he = browser->he_selection; in hist_browser__selection_unfolded() [all …]
|
D | hists.h | 13 struct hist_entry *he_selection;
|
/linux-6.6.21/tools/perf/ui/gtk/ |
D | gtk.h | 57 struct hist_entry; 63 int hist_entry__gtk_annotate(struct hist_entry *he,
|
D | hists.c | 44 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-6.6.21/tools/perf/ui/stdio/ |
D | hist.c | 381 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf() 414 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() 452 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() 457 static int hist_entry__hierarchy_fprintf(struct hist_entry *he, in hist_entry__hierarchy_fprintf() 538 static int hist_entry__block_fprintf(struct hist_entry *he, in hist_entry__block_fprintf() 562 static int hist_entry__individual_block_fprintf(struct hist_entry *he, in hist_entry__individual_block_fprintf() 581 static int hist_entry__fprintf(struct hist_entry *he, size_t size, in hist_entry__fprintf() 854 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__fprintf()
|