/tools/perf/util/ |
D | sort.h | 80 struct hist_entry { struct 128 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument 133 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() 136 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair() 140 static inline void hist_entry__add_pair(struct hist_entry *pair, in hist_entry__add_pair() 141 struct hist_entry *he) in hist_entry__add_pair() 146 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit() 216 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *); 217 int64_t (*se_collapse)(struct hist_entry *, struct hist_entry *); 218 int64_t (*se_sort)(struct hist_entry *, struct hist_entry *); [all …]
|
D | hist.h | 12 struct hist_entry; 97 struct hist_entry *he; 112 struct hist_entry *__hists__add_entry(struct hists *hists, 122 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right); 123 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right); 125 int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size, 127 void hist_entry__delete(struct hist_entry *he); 138 void hists__inc_stats(struct hists *hists, struct hist_entry *h); 163 void hists__calc_col_len(struct hists *hists, struct hist_entry *he); 201 struct hist_entry *he); [all …]
|
D | sort.c | 65 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() 70 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf() 90 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp() 97 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse() 104 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort() 109 static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf, in hist_entry__comm_snprintf() 147 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp() 164 static int hist_entry__dso_snprintf(struct hist_entry *he, char *bf, in hist_entry__dso_snprintf() 199 sort__sym_cmp(struct hist_entry *left, struct hist_entry *right) in sort__sym_cmp() 220 sort__sym_sort(struct hist_entry *left, struct hist_entry *right) in sort__sym_sort() [all …]
|
D | hist.c | 13 struct hist_entry *he); 15 struct hist_entry *he); 17 struct hist_entry *he); 19 struct hist_entry *he); 58 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len() 187 struct hist_entry *n; in hists__output_recalc_col_len() 193 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len() 248 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry() 269 static void hists__delete_entry(struct hists *hists, struct hist_entry *he) in hists__delete_entry() 286 struct hist_entry *n; in hists__decay_entries() [all …]
|
D | top.h | 33 struct hist_entry *sym_filter_entry;
|
D | annotate.h | 152 int hist_entry__inc_addr_samples(struct hist_entry *he, int evidx, u64 addr); 159 int hist_entry__annotate(struct hist_entry *he, size_t privsize);
|
D | callchain.h | 192 struct hist_entry; 200 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample);
|
D | callchain.c | 724 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample) in hist_entry__append_callchain()
|
D | annotate.c | 662 int hist_entry__inc_addr_samples(struct hist_entry *he, int evidx, u64 ip) in hist_entry__inc_addr_samples() 1646 int hist_entry__annotate(struct hist_entry *he, size_t privsize) in hist_entry__annotate()
|
/tools/perf/tests/ |
D | hists_output.c | 95 struct hist_entry *he; in del_hist_entries() 110 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries() 130 struct hist_entry *he; in test1() 168 he = rb_entry(node, struct hist_entry, rb_node); in test1() 174 he = rb_entry(node, struct hist_entry, rb_node); 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() [all …]
|
D | hists_common.c | 171 struct hist_entry *he; in print_hists_in() 173 he = rb_entry(node, struct hist_entry, rb_node_in); in print_hists_in() 198 struct hist_entry *he; in print_hists_out() 200 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out()
|
D | hists_link.c | 66 struct hist_entry *he; in add_hist_entries() 167 struct hist_entry *he; in __validate_match() 169 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match() 219 struct hist_entry *he; in __validate_link() 221 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_link()
|
D | hists_cumulate.c | 129 struct hist_entry *he; in del_hist_entries() 144 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries() 183 struct hist_entry *he; in do_test() 205 node && (he = rb_entry(node, struct hist_entry, rb_node)); in do_test()
|
/tools/perf/ |
D | builtin-diff.c | 220 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() 405 static struct hist_entry* 406 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data() [all …]
|
D | builtin-annotate.c | 55 struct hist_entry *he; in perf_evsel__add_sample() 113 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate() 129 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations() 147 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
|
D | builtin-top.c | 94 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() 144 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters() 178 struct hist_entry *he, in perf_top__record_precise_ip() 222 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details() 343 struct hist_entry *syme = top->sym_filter_entry, *n, *found = NULL; in perf_top__prompt_symbol() 364 n = rb_entry(next, struct hist_entry, rb_node); in perf_top__prompt_symbol() 527 struct hist_entry *syme = top->sym_filter_entry; in perf_top__handle_keypress() 693 struct hist_entry *he = iter->he; in hist_iter__top_callback()
|
D | builtin-report.c | 99 struct hist_entry *he = iter->he; in hist_iter__report_callback()
|
/tools/perf/ui/ |
D | hist.c | 18 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() 41 struct hist_entry *pair; in __hpp__fmt() 108 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() 127 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() 147 static int __hpp__sort(struct hist_entry *a, struct hist_entry *b, in __hpp__sort() 153 struct hist_entry *pair; in __hpp__sort() 194 static int __hpp__sort_acc(struct hist_entry *a, struct hist_entry *b, in __hpp__sort_acc() 267 static u64 he_get_##_field(struct hist_entry *he) \ 273 struct perf_hpp *hpp, struct hist_entry *he) \ 281 struct perf_hpp *hpp, struct hist_entry *he) \ [all …]
|
/tools/perf/ui/gtk/ |
D | gtk.h | 56 struct hist_entry; 62 int hist_entry__gtk_annotate(struct hist_entry *he,
|
D | hists.c | 39 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) \ 224 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in perf_gtk__show_hists()
|
D | annotate.c | 229 int hist_entry__gtk_annotate(struct hist_entry *he, in hist_entry__gtk_annotate()
|
/tools/perf/ui/browsers/ |
D | hists.c | 25 struct hist_entry *he_selection; 62 struct hist_entry *he = in hist_browser__get_folding() 63 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding() 141 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded() 211 static bool hist_entry__toggle_fold(struct hist_entry *he) in hist_entry__toggle_fold() 285 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children() 296 struct hist_entry *he = browser->he_selection; in hist_browser__toggle_fold() 383 static void hist_entry__set_folding(struct hist_entry *he, bool unfold) in hist_entry__set_folding() 404 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in __hist_browser__set_folding() 472 struct hist_entry *h = rb_entry(browser->b.top, in hist_browser__run() [all …]
|
D | annotate.c | 887 int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel, in hist_entry__tui_annotate()
|
/tools/perf/ui/stdio/ |
D | hist.c | 263 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf() 290 static size_t hist_entry__callchain_fprintf(struct hist_entry *he, in hist_entry__callchain_fprintf() 314 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() 350 static int hist_entry__fprintf(struct hist_entry *he, size_t size, in hist_entry__fprintf() 462 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__fprintf()
|