Home
last modified time | relevance | path

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

12

/Linux-v4.19/tools/perf/util/
Dsort.h89 struct hist_entry { struct
143 struct hist_entry *parent_he; argument
156 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
161 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs()
166 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair()
169 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
173 static inline void hist_entry__add_pair(struct hist_entry *pair, in hist_entry__add_pair()
174 struct hist_entry *he) in hist_entry__add_pair()
179 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit()
266 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *);
[all …]
Dhist.c22 struct hist_entry *he);
24 struct hist_entry *he);
26 struct hist_entry *he);
28 struct hist_entry *he);
67 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len()
213 struct hist_entry *n; in hists__output_recalc_col_len()
219 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
274 static void hists__delete_entry(struct hists *hists, struct hist_entry *he);
276 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry()
298 struct hist_entry *child; in hists__decay_entry()
[all …]
Dsort.c79 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp()
84 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf()
94 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter()
120 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp()
126 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse()
132 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort()
137 static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf, in hist_entry__comm_snprintf()
176 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp()
193 static int hist_entry__dso_snprintf(struct hist_entry *he, char *bf, in hist_entry__dso_snprintf()
199 static int hist_entry__dso_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__dso_filter()
[all …]
Dhist.h13 struct hist_entry;
115 struct hist_entry *he;
130 struct hist_entry *hists__add_entry(struct hists *hists,
138 struct hist_entry *hists__add_entry_ops(struct hists *hists,
153 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right);
154 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right);
156 int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size,
158 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp,
160 void hist_entry__delete(struct hist_entry *he);
162 typedef int (*hists__resort_cb_t)(struct hist_entry *he);
[all …]
Dtop.h35 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.h71 struct hist_entry;
Dannotate.h330 int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample,
/Linux-v4.19/tools/perf/
Dbuiltin-diff.c232 static double period_percent(struct hist_entry *he, u64 period) in period_percent()
239 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta()
249 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio()
259 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff()
271 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta()
288 static int formula_ratio(struct hist_entry *he, struct hist_entry *pair, in formula_ratio()
297 static int formula_wdiff(struct hist_entry *he, struct hist_entry *pair, in formula_wdiff()
308 static int formula_fprintf(struct hist_entry *he, struct hist_entry *pair, in formula_fprintf()
408 static struct hist_entry*
409 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data()
[all …]
Dbuiltin-c2c.c68 struct hist_entry he;
176 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists()
256 struct hist_entry *he; in process_sample_event()
392 struct hist_entry *, struct hist_entry *);
394 struct hist_entry *he);
396 struct hist_entry *he);
478 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp()
484 struct hist_entry *he) in dcacheline_entry()
498 struct hist_entry *he) in dcacheline_node_entry()
512 struct hist_entry *he) in dcacheline_node_count()
[all …]
Dbuiltin-annotate.c155 struct hist_entry *he = iter->he; in hist_iter__branch_callback()
217 struct hist_entry *he; in perf_evsel__add_sample()
295 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate()
313 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
335 int (*annotate)(struct hist_entry *he, in hists__find_annotations()
Dbuiltin-top.c100 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source()
149 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters()
183 struct hist_entry *he, in perf_top__record_precise_ip()
226 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details()
351 struct hist_entry *syme = top->sym_filter_entry, *n, *found = NULL; in perf_top__prompt_symbol()
372 n = rb_entry(next, struct hist_entry, rb_node); in perf_top__prompt_symbol()
531 struct hist_entry *syme = top->sym_filter_entry; in perf_top__handle_keypress()
684 struct hist_entry *he = iter->he; in hist_iter__top_callback()
Dbuiltin-report.c126 struct hist_entry *he = iter->he; in hist_iter__report_callback()
170 struct hist_entry *he = iter->he; in hist_iter__branch_callback()
/Linux-v4.19/tools/perf/tests/
Dhists_output.c93 struct hist_entry *he; in del_hist_entries()
108 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
128 struct hist_entry *he; in test1()
166 he = rb_entry(node, struct hist_entry, rb_node); in test1()
172 he = rb_entry(node, struct hist_entry, rb_node); in test1()
178 he = rb_entry(node, struct hist_entry, rb_node); in test1()
184 he = rb_entry(node, struct hist_entry, rb_node); in test1()
190 he = rb_entry(node, struct hist_entry, rb_node); in test1()
196 he = rb_entry(node, struct hist_entry, rb_node); in test1()
202 he = rb_entry(node, struct hist_entry, rb_node); in test1()
[all …]
Dhists_common.c175 struct hist_entry *he; in print_hists_in()
177 he = rb_entry(node, struct hist_entry, rb_node_in); in print_hists_in()
202 struct hist_entry *he; in print_hists_out()
204 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out()
Dhists_link.c69 struct hist_entry *he; in add_hist_entries()
158 struct hist_entry *he; in __validate_match()
160 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match()
210 struct hist_entry *he; in __validate_link()
212 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_link()
Dhists_cumulate.c127 struct hist_entry *he; in del_hist_entries()
142 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
181 struct hist_entry *he; in do_test()
203 node && (he = rb_entry(node, struct hist_entry, rb_node)); in do_test()
/Linux-v4.19/tools/perf/ui/
Dhist.c21 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt()
44 struct hist_entry *pair; in __hpp__fmt()
111 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt()
130 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc()
150 static int __hpp__sort(struct hist_entry *a, struct hist_entry *b, in __hpp__sort()
156 struct hist_entry *pair; in __hpp__sort()
197 static int __hpp__sort_acc(struct hist_entry *a, struct hist_entry *b, in __hpp__sort_acc()
274 static u64 he_get_##_field(struct hist_entry *he) \
280 struct perf_hpp *hpp, struct hist_entry *he) \
288 struct perf_hpp *hpp, struct hist_entry *he) \
[all …]
/Linux-v4.19/tools/perf/ui/browsers/
Dhists.c55 struct hist_entry *he = in hist_browser__get_folding()
56 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding()
146 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded()
257 static int hierarchy_count_rows(struct hist_browser *hb, struct hist_entry *he, in hierarchy_count_rows()
262 struct hist_entry *child; in hierarchy_count_rows()
274 child = rb_entry(node, struct hist_entry, rb_node); in hierarchy_count_rows()
289 static bool hist_entry__toggle_fold(struct hist_entry *he) in hist_entry__toggle_fold()
366 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children()
383 struct hist_entry *he = browser->he_selection; in hist_browser__toggle_fold()
503 static int hierarchy_set_folding(struct hist_browser *hb, struct hist_entry *he, in hierarchy_set_folding()
[all …]
Dhists.h12 struct hist_entry *he_selection;
/Linux-v4.19/tools/perf/ui/gtk/
Dgtk.h57 struct hist_entry;
63 int hist_entry__gtk_annotate(struct hist_entry *he,
Dhists.c42 static u64 he_get_##_field(struct hist_entry *he) \
49 struct hist_entry *he) \
56 static u64 he_get_acc_##_field(struct hist_entry *he) \
63 struct hist_entry *he) \
357 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in perf_gtk__show_hists()
412 struct hist_entry *he; in perf_gtk__add_hierarchy_entries()
423 he = rb_entry(node, struct hist_entry, rb_node); in perf_gtk__add_hierarchy_entries()
Dannotate.c237 int hist_entry__gtk_annotate(struct hist_entry *he, in hist_entry__gtk_annotate()
/Linux-v4.19/tools/perf/ui/stdio/
Dhist.c373 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf()
406 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf()
444 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf()
449 static int hist_entry__hierarchy_fprintf(struct hist_entry *he, in hist_entry__hierarchy_fprintf()
530 static int hist_entry__fprintf(struct hist_entry *he, size_t size, in hist_entry__fprintf()
792 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__fprintf()
/Linux-v4.19/drivers/media/platform/atmel/
Datmel-isc.c170 u32 hist_entry[HIST_ENTRIES]; member
1642 u32 *hist_entry = &ctrls->hist_entry[0]; in isc_hist_count() local
1645 regmap_bulk_read(regmap, ISC_HIS_ENTRY, hist_entry, HIST_ENTRIES); in isc_hist_count()
1649 *hist_count += i * (*hist_entry++); in isc_hist_count()

12