Home
last modified time | relevance | path

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

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dhist.c11 struct hist_entry *he);
13 struct hist_entry *he);
15 struct hist_entry *he);
68 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len()
168 struct hist_entry *n; in hists__output_recalc_col_len()
174 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
181 static void hist_entry__add_cpumode_period(struct hist_entry *he, in hist_entry__add_cpumode_period()
222 static void hist_entry__decay(struct hist_entry *he) in hist_entry__decay()
229 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry()
247 struct hist_entry *n; in hists__decay_entries()
[all …]
Dsort.c58 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp()
63 static int hist_entry__thread_snprintf(struct hist_entry *self, char *bf, in hist_entry__thread_snprintf()
80 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp()
86 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse()
97 static int hist_entry__comm_snprintf(struct hist_entry *self, char *bf, in hist_entry__comm_snprintf()
134 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp()
151 static int hist_entry__dso_snprintf(struct hist_entry *self, char *bf, in hist_entry__dso_snprintf()
183 sort__sym_cmp(struct hist_entry *left, struct hist_entry *right) in sort__sym_cmp()
227 static int hist_entry__sym_snprintf(struct hist_entry *self, char *bf, in hist_entry__sym_snprintf()
244 sort__srcline_cmp(struct hist_entry *left, struct hist_entry *right) in sort__srcline_cmp()
[all …]
Dhist.h12 struct hist_entry;
83 struct hist_entry *__hists__add_entry(struct hists *self,
87 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right);
88 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right);
89 int hist_entry__sort_snprintf(struct hist_entry *self, char *bf, size_t size,
91 void hist_entry__free(struct hist_entry *);
93 struct hist_entry *__hists__add_branch_entry(struct hists *self,
100 struct hist_entry *__hists__add_mem_entry(struct hists *self,
113 void hists__inc_nr_entries(struct hists *hists, struct hist_entry *h);
121 int hist_entry__inc_addr_samples(struct hist_entry *self, int evidx, u64 addr);
[all …]
Dsort.h77 struct hist_entry { struct
113 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument
118 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair()
121 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
125 static inline void hist_entry__add_pair(struct hist_entry *pair, in hist_entry__add_pair()
126 struct hist_entry *he) in hist_entry__add_pair()
176 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *);
177 int64_t (*se_collapse)(struct hist_entry *, struct hist_entry *);
178 int (*se_snprintf)(struct hist_entry *self, char *bf, size_t size,
Dannotate.h173 static inline int hist_entry__gtk_annotate(struct hist_entry *he, in hist_entry__gtk_annotate()
182 static inline int hist_entry__gtk_annotate(struct hist_entry *he __maybe_unused, in hist_entry__gtk_annotate()
Dtop.h32 struct hist_entry *sym_filter_entry;
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-diff.c220 static double period_percent(struct hist_entry *he, u64 period) in period_percent()
226 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta()
236 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio()
246 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff()
258 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta()
268 static int formula_ratio(struct hist_entry *he, struct hist_entry *pair, in formula_ratio()
277 static int formula_wdiff(struct hist_entry *he, struct hist_entry *pair, in formula_wdiff()
288 static int formula_fprintf(struct hist_entry *he, struct hist_entry *pair, in formula_fprintf()
374 static struct hist_entry*
375 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data()
[all …]
Dbuiltin-annotate.c51 struct hist_entry *he; in perf_evsel__add_sample()
111 static int hist_entry__tty_annotate(struct hist_entry *he, in hist_entry__tty_annotate()
127 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
Dbuiltin-top.c90 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source()
140 static void __zero_source_counters(struct hist_entry *he) in __zero_source_counters()
174 struct hist_entry *he, in perf_top__record_precise_ip()
211 struct hist_entry *he = top->sym_filter_entry; in perf_top__show_details()
242 static struct hist_entry *perf_evsel__add_hist_entry(struct perf_evsel *evsel, in perf_evsel__add_hist_entry()
246 struct hist_entry *he; in perf_evsel__add_hist_entry()
341 struct hist_entry *syme = top->sym_filter_entry, *n, *found = NULL; in perf_top__prompt_symbol()
361 n = rb_entry(next, struct hist_entry, rb_node); in perf_top__prompt_symbol()
529 struct hist_entry *syme = top->sym_filter_entry; in perf_top__handle_keypress()
768 struct hist_entry *he; in perf_event__process_sample()
Dbuiltin-report.c84 struct hist_entry *he; in perf_report__add_mem_hist_entry()
176 struct hist_entry *he; in perf_report__add_branch_hist_entry()
252 struct hist_entry *he; in perf_evsel__add_hist_entry()
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/
Dhist.c13 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt()
14 u64 (*get_field)(struct hist_entry *), in __hpp__fmt() argument
35 struct hist_entry *pair; in __hpp__fmt()
111 static u64 he_get_##_field(struct hist_entry *he) \
117 struct perf_hpp *hpp, struct hist_entry *he) \
125 struct perf_hpp *hpp, struct hist_entry *he) \
133 static u64 he_get_raw_##_field(struct hist_entry *he) \
139 struct perf_hpp *hpp, struct hist_entry *he) \
239 int hist_entry__sort_snprintf(struct hist_entry *he, char *s, size_t size, in hist_entry__sort_snprintf()
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/
Dhists.c24 struct hist_entry *he_selection;
61 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded()
186 static void hist_entry__init_have_children(struct hist_entry *he) in hist_entry__init_have_children()
198 struct hist_entry *he = browser->he_selection; in hist_browser__toggle_fold()
271 static void hist_entry__set_folding(struct hist_entry *he, bool unfold) in hist_entry__set_folding()
290 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__set_folding()
364 struct hist_entry *h = rb_entry(browser->b.top, in hist_browser__run()
365 struct hist_entry, rb_node); in hist_browser__run()
599 static int __hpp__color_fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_fmt()
600 u64 (*get_field)(struct hist_entry *), in __hpp__color_fmt() argument
[all …]
Dannotate.c820 int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel, in hist_entry__tui_annotate()
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dhists_link.c202 struct hist_entry *he; in add_hist_entries()
293 struct hist_entry *he; in __validate_match()
295 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match()
345 struct hist_entry *he; in __validate_link()
347 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_link()
417 struct hist_entry *he; in print_hists()
419 he = rb_entry(node, struct hist_entry, rb_node_in); in print_hists()
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
Dhists.c29 static int __hpp__color_fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_fmt()
30 u64 (*get_field)(struct hist_entry *)) in __hpp__color_fmt() argument
44 struct hist_entry *pair; in __hpp__color_fmt()
89 static u64 he_get_##_field(struct hist_entry *he) \
96 struct hist_entry *he) \
281 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in perf_gtk__show_hists()
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/stdio/
Dhist.c269 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf()
294 static size_t hist_entry__callchain_fprintf(struct hist_entry *he, in hist_entry__callchain_fprintf()
318 struct hist_entry *he) in hist_entry__period_snprintf()
351 static int hist_entry__fprintf(struct hist_entry *he, size_t size, in hist_entry__fprintf()
491 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__fprintf()