Home
last modified time | relevance | path

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

12

/linux-5.19.10/tools/perf/util/
Dsort.h90 struct hist_entry { struct
153 struct hist_entry *parent_he; argument
166 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
171 int hist_entry__sym_snprintf(struct hist_entry *he, char *bf, size_t size, unsigned int width);
173 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs()
178 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair()
181 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
185 static inline void hist_entry__add_pair(struct hist_entry *pair, in hist_entry__add_pair()
186 struct hist_entry *he) in hist_entry__add_pair()
191 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit()
[all …]
Dhist.c34 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()
254 struct hist_entry *n; in hists__output_recalc_col_len()
260 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
319 static void hists__delete_entry(struct hists *hists, struct hist_entry *he);
321 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry()
343 struct hist_entry *child; in hists__decay_entry()
[all …]
Dsort.c98 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp()
103 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf()
113 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter()
139 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp()
145 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse()
151 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort()
156 static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf, in hist_entry__comm_snprintf()
195 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp()
212 static int hist_entry__dso_snprintf(struct hist_entry *he, char *bf, in hist_entry__dso_snprintf()
218 static int hist_entry__dso_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__dso_filter()
[all …]
Dhist.h12 struct hist_entry;
132 struct hist_entry *he;
147 struct hist_entry *hists__add_entry(struct hists *hists,
155 struct hist_entry *hists__add_entry_ops(struct hists *hists,
164 struct hist_entry *hists__add_entry_block(struct hists *hists,
174 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right);
175 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right);
177 int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size,
179 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp,
181 void hist_entry__delete(struct hist_entry *he);
[all …]
Dblock-info.h65 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);
Dblock-info.c68 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 …]
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()
Dtop.h43 struct hist_entry *sym_filter_entry;
Dcallchain.h238 struct hist_entry;
253 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample);
Dmem-events.h90 struct hist_entry;
Dannotate.h17 struct hist_entry;
351 int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample,
/linux-5.19.10/tools/perf/tests/
Dhists_output.c94 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_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()
204 struct hist_entry *he; in print_hists_out()
206 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out()
Dhists_link.c68 struct hist_entry *he; in add_hist_entries()
157 struct hist_entry *he; in __validate_match()
159 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match()
209 struct hist_entry *he; in __validate_link()
211 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_link()
Dhists_cumulate.c128 struct hist_entry *he; in del_hist_entries()
143 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
182 struct hist_entry *he; in do_test()
204 node && (he = rb_entry(node, struct hist_entry, rb_node)); in do_test()
/linux-5.19.10/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()
517 static struct hist_entry*
518 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data()
[all …]
Dbuiltin-c2c.c80 struct hist_entry he;
189 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists()
269 struct hist_entry *he; in process_sample_event()
412 struct hist_entry *, struct hist_entry *);
414 struct hist_entry *he);
416 struct hist_entry *he);
498 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp()
504 struct hist_entry *he) in dcacheline_entry()
518 struct hist_entry *he) in dcacheline_node_entry()
532 struct hist_entry *he) in dcacheline_node_count()
[all …]
Dbuiltin-annotate.c165 struct hist_entry *he = iter->he; in hist_iter__branch_callback()
223 struct hist_entry *he; in evsel__add_sample()
300 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate()
318 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
351 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
Dbuiltin-top.c111 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source()
162 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters()
196 struct hist_entry *he, in perf_top__record_precise_ip()
239 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details()
393 struct hist_entry *syme = top->sym_filter_entry, *n, *found = NULL; in perf_top__prompt_symbol()
414 n = rb_entry(next, struct hist_entry, rb_node); in perf_top__prompt_symbol()
573 struct hist_entry *syme = top->sym_filter_entry; in perf_top__handle_keypress()
729 struct hist_entry *he = iter->he; in hist_iter__top_callback()
/linux-5.19.10/tools/perf/ui/
Dhist.c25 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 *a, struct hist_entry *b, in __hpp__sort()
264 static int __hpp__sort_acc(struct hist_entry *a, struct hist_entry *b, in __hpp__sort_acc()
341 static u64 he_get_##_field(struct hist_entry *he) \
[all …]
/linux-5.19.10/tools/perf/ui/browsers/
Dhists.c70 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()
417 struct hist_entry *he = browser->he_selection; in hist_browser__selection_unfolded()
[all …]
Dhists.h13 struct hist_entry *he_selection;
/linux-5.19.10/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-5.19.10/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