Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/perf/util/
Dsort.h114 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *);
115 int64_t (*se_collapse)(struct hist_entry *, struct hist_entry *);
116 int64_t (*se_sort)(struct hist_entry *, struct hist_entry *);
117 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size,
119 int (*se_filter)(struct hist_entry *he, int type, const void *arg);
120 void (*se_init)(struct hist_entry *he);
147 sort__iaddr_cmp(struct hist_entry *left, struct hist_entry *right);
149 sort__daddr_cmp(struct hist_entry *left, struct hist_entry *right);
151 sort__dcacheline_cmp(struct hist_entry *left, struct hist_entry *right);
154 char *hist_entry__srcline(struct hist_entry *he);
Dhist.h138 struct hist_entry *he;
143 struct hist_entry **he_cache;
210 struct hist_entry { struct
276 struct hist_entry *parent_he; argument
290 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
295 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs()
300 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair()
303 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
307 static inline void hist_entry__add_pair(struct hist_entry *pair, in hist_entry__add_pair()
308 struct hist_entry *he) in hist_entry__add_pair()
[all …]
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__simd_cmp(struct hist_entry *left, struct hist_entry *right) in sort__simd_cmp()
165 static int hist_entry__simd_snprintf(struct hist_entry *he, char *bf, in hist_entry__simd_snprintf()
198 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp()
204 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse()
210 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort()
215 static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf, in hist_entry__comm_snprintf()
254 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp()
[all …]
Dhist.c36 struct hist_entry *he);
38 struct hist_entry *he);
40 struct hist_entry *he);
42 struct hist_entry *he);
81 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len()
257 struct hist_entry *n; in hists__output_recalc_col_len()
263 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
327 static void hists__delete_entry(struct hists *hists, struct hist_entry *he);
329 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry()
351 struct hist_entry *child; in hists__decay_entry()
[all …]
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);
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 …]
Dannotate-data.h20 struct hist_entry;
230 int hist_entry__annotate_data_tty(struct hist_entry *he, struct evsel *evsel);
273 static inline int hist_entry__annotate_data_tty(struct hist_entry *he __maybe_unused, in hist_entry__annotate_data_tty()
282 int hist_entry__annotate_data_tui(struct hist_entry *he, struct evsel *evsel,
285 static inline int hist_entry__annotate_data_tui(struct hist_entry *he __maybe_unused, in hist_entry__annotate_data_tui()
Dstream.c99 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()
Dannotate.h20 struct hist_entry;
407 int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample,
535 struct annotated_data_type *hist_entry__get_data_type(struct hist_entry *he);
Dtop.h43 struct hist_entry *sym_filter_entry;
/linux-6.12.1/tools/perf/tests/
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 …]
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()
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()
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-6.12.1/tools/perf/
Dbuiltin-diff.c272 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()
505 static struct hist_entry*
506 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data()
[all …]
Dbuiltin-c2c.c82 struct hist_entry he;
201 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists()
285 struct hist_entry *he; in process_sample_event()
416 struct hist_entry *, struct hist_entry *);
418 struct hist_entry *he);
420 struct hist_entry *he);
502 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp()
508 struct hist_entry *he) in dcacheline_entry()
522 struct hist_entry *he) in dcacheline_node_entry()
536 struct hist_entry *he) in dcacheline_node_count()
[all …]
Dbuiltin-kvm.c92 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 …]
Dbuiltin-annotate.c176 struct hist_entry *he = iter->he; in hist_iter__branch_callback()
243 struct hist_entry *he; in evsel__add_sample()
323 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate()
420 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
503 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
/linux-6.12.1/tools/perf/ui/
Dhist.c55 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt()
80 struct hist_entry *pair; in __hpp__fmt()
120 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt()
140 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc()
161 static int hist_entry__new_pair(struct hist_entry *a, struct hist_entry *b, in hist_entry__new_pair()
167 struct hist_entry *pair; in hist_entry__new_pair()
192 static int __hpp__group_sort_idx(struct hist_entry *a, struct hist_entry *b, in __hpp__group_sort_idx()
232 static int __hpp__sort(struct hist_entry *a, struct hist_entry *b, in __hpp__sort()
271 static int __hpp__sort_acc(struct hist_entry *a, struct hist_entry *b, in __hpp__sort_acc()
360 static u64 he_get_##_field(struct hist_entry *he) \
[all …]
/linux-6.12.1/tools/perf/ui/browsers/
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 …]
Dhists.h12 struct hist_entry *he_selection;
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()
569 int hist_entry__annotate_data_tui(struct hist_entry *he, struct evsel *evsel, in hist_entry__annotate_data_tui()
/linux-6.12.1/tools/perf/ui/gtk/
Dgtk.h57 struct hist_entry;
62 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()
/linux-6.12.1/tools/perf/ui/stdio/
Dhist.c381 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()

12