Searched refs:hists (Results 1 - 18 of 18) sorted by relevance

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dhist.c10 static bool hists__filter_entry_by_dso(struct hists *hists,
12 static bool hists__filter_entry_by_thread(struct hists *hists,
14 static bool hists__filter_entry_by_symbol(struct hists *hists,
31 u16 hists__col_len(struct hists *hists, enum hist_column col) argument
33 return hists->col_len[col];
36 void hists__set_col_len(struct hists *hist argument
41 hists__new_col_len(struct hists *hists, enum hist_column col, u16 len) argument
50 hists__reset_col_len(struct hists *hists) argument
58 hists__set_unres_dso_col_len(struct hists *hists, int dso) argument
68 hists__calc_col_len(struct hists *hists, struct hist_entry *h) argument
165 hists__output_recalc_col_len(struct hists *hists, int max_rows) argument
229 hists__decay_entry(struct hists *hists, struct hist_entry *he) argument
244 hists__decay_entries(struct hists *hists, bool zap_user, bool zap_kernel) argument
324 hists__inc_nr_entries(struct hists *hists, struct hist_entry *h) argument
340 add_hist_entry(struct hists *hists, struct hist_entry *entry, struct addr_location *al, u64 period, u64 weight) argument
579 hists__get_rotate_entries_in(struct hists *hists) argument
594 hists__apply_filters(struct hists *hists, struct hist_entry *he) argument
601 hists__collapse_resort(struct hists *hists) argument
717 hists__output_resort(struct hists *hists) argument
747 hists__remove_entry_filter(struct hists *hists, struct hist_entry *h, enum hist_filter filter) argument
765 hists__filter_entry_by_dso(struct hists *hists, struct hist_entry *he) argument
777 hists__filter_by_dso(struct hists *hists) argument
798 hists__filter_entry_by_thread(struct hists *hists, struct hist_entry *he) argument
810 hists__filter_by_thread(struct hists *hists) argument
828 hists__filter_entry_by_symbol(struct hists *hists, struct hist_entry *he) argument
841 hists__filter_by_symbol(struct hists *hists) argument
875 hists__inc_nr_events(struct hists *hists, u32 type) argument
880 hists__add_dummy_entry(struct hists *hists, struct hist_entry *pair) argument
924 hists__find_entry(struct hists *hists, struct hist_entry *he) argument
[all...]
H A Dhist.h67 struct hists { struct
83 struct hist_entry *__hists__add_entry(struct hists *self,
90 struct hists *hists);
93 struct hist_entry *__hists__add_branch_entry(struct hists *self,
100 struct hist_entry *__hists__add_mem_entry(struct hists *self,
107 void hists__output_resort(struct hists *self);
108 void hists__collapse_resort(struct hists *self);
110 void hists__decay_entries(struct hists *hists, boo
[all...]
H A Devsel.h69 struct hists hists; member in struct:perf_evsel
95 #define hists_to_evsel(h) container_of(h, struct perf_evsel, hists)
258 void hists__init(struct hists *hists);
H A Dsort.h108 struct hists *hists; member in struct:hist_entry
H A Devsel.c117 void hists__init(struct hists *hists) argument
119 memset(hists, 0, sizeof(*hists));
120 hists->entries_in_array[0] = hists->entries_in_array[1] = RB_ROOT;
121 hists->entries_in = &hists->entries_in_array[0];
122 hists->entries_collapsed = RB_ROOT;
123 hists
[all...]
H A Dsession.c986 hists__inc_nr_events(&evsel->hists, event->header.type);
1479 ret += events_stats__fprintf(&pos->hists.stats, fp);
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dhists_link.c225 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1);
247 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1);
277 static int __validate_match(struct hists *hists) argument
287 root = &hists->entries_collapsed;
289 root = hists->entries_in;
320 static int validate_match(struct hists *leader, struct hists *other)
325 static int __validate_link(struct hists *hists, in argument
403 print_hists(struct hists *hists) argument
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/
H A Dhists.c23 struct hists *hists; member in struct:hist_browser
34 static int hists__browser_title(struct hists *hists, char *bf, size_t size,
40 browser->b.width = 3 + (hists__sort_list_width(browser->hists) +
46 browser->b.nr_entries = browser->hists->nr_entries;
201 browser->hists->nr_entries -= he->nr_rows;
207 browser->hists->nr_entries += he->nr_rows;
208 browser->b.nr_entries = browser->hists->nr_entries;
283 static void hists__set_folding(struct hists *hist argument
605 struct hists *hists = he->hists; local
831 hists__filter_entries(struct rb_node *nd, struct hists *hists, float min_pcnt) argument
852 hists__filter_prev_entries(struct rb_node *nd, struct hists *hists, float min_pcnt) argument
1192 hist_browser__new(struct hists *hists) argument
1221 hists__browser_title(struct hists *hists, char *bf, size_t size, const char *ev_name) argument
1392 struct hists *hists = &evsel->hists; local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-diff.c47 struct hists *hists; member in struct:data__file
222 u64 total = he->hists->stats.total_period;
264 pair->stat.period, pair->hists->stats.total_period,
265 he->stat.period, he->hists->stats.total_period);
305 static int hists__add_entry(struct hists *self,
331 if (hists__add_entry(&evsel->hists, &al, sample->period, sample->weight)) {
336 evsel->hists.stats.total_period += sample->period;
368 struct hists *hists local
397 hists__baseline_only(struct hists *hists) argument
419 hists__precompute(struct hists *hists) argument
550 hists__compute_resort(struct hists *hists) argument
578 hists__process(struct hists *hists) argument
737 struct hists *hists = he->hists; local
[all...]
H A Dbuiltin-annotate.c66 he = __hists__add_entry(&evsel->hists, al, NULL, 1, 1);
79 evsel->hists.stats.total_period += sample->period;
80 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
119 static void hists__find_annotations(struct hists *self,
229 struct hists *hists = &pos->hists; local
230 u32 nr_samples = hists->stats.nr_events[PERF_RECORD_SAMPLE];
234 hists__collapse_resort(hists);
235 hists__output_resort(hists);
[all...]
H A Dbuiltin-report.c114 he = __hists__add_mem_entry(&evsel->hists, al, parent, mi, cost, cost);
153 evsel->hists.stats.total_period += cost;
154 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
202 he = __hists__add_branch_entry(&evsel->hists, al, parent,
234 evsel->hists.stats.total_period += 1;
235 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
261 he = __hists__add_entry(&evsel->hists, al, parent, sample->period,
290 evsel->hists.stats.total_period += sample->period;
291 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
410 struct hists *sel
453 struct hists *hists = &pos->hists; local
551 struct hists *hists = &pos->hists; local
[all...]
H A Dbuiltin-top.c248 pthread_mutex_lock(&evsel->hists.lock);
249 he = __hists__add_entry(&evsel->hists, al, NULL, sample->period,
251 pthread_mutex_unlock(&evsel->hists.lock);
256 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
275 if (top->sym_evsel->hists.stats.nr_lost_warned !=
276 top->sym_evsel->hists.stats.nr_events[PERF_RECORD_LOST]) {
277 top->sym_evsel->hists.stats.nr_lost_warned =
278 top->sym_evsel->hists.stats.nr_events[PERF_RECORD_LOST];
281 top->sym_evsel->hists.stats.nr_lost_warned);
290 hists__collapse_resort(&top->sym_evsel->hists);
[all...]
H A DMakefile478 LIB_OBJS += $(OUTPUT)ui/browsers/hists.o
493 LIB_OBJS += $(OUTPUT)ui/gtk/hists.o
626 $(OUTPUT)ui/browsers/hists.o: ui/browsers/hists.c $(OUTPUT)PERF-CFLAGS
H A Dbuiltin-sched.c1437 evsel->hists.stats.total_period += sample->period;
1438 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
H A Dbuiltin-script.c538 evsel->hists.stats.total_period += sample->period;
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/
H A Dhist.c19 struct hists *hists = he->hists; local
20 struct perf_evsel *evsel = hists_to_evsel(hists);
25 if (hists->stats.total_period)
27 hists->stats.total_period;
42 u64 total = pair->hists->stats.total_period;
47 evsel = hists_to_evsel(pair->hists);
240 struct hists *hists)
239 hist_entry__sort_snprintf(struct hist_entry *he, char *s, size_t size, struct hists *hists) argument
261 hists__sort_list_width(struct hists *hists) argument
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
H A Dhists.c34 struct hists *hists = he->hists; local
35 struct perf_evsel *evsel = hists_to_evsel(hists);
37 if (hists->stats.total_period)
38 percent = 100.0 * get_field(he) / hists->stats.total_period;
51 u64 total = pair->hists->stats.total_period;
53 evsel = hists_to_evsel(pair->hists);
201 static void perf_gtk__show_hists(GtkWidget *window, struct hists *hists, argument
379 struct hists *hists = &pos->hists; local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/stdio/
H A Dhist.c295 struct hists *hists,
299 u64 total_period = hists->stats.total_period;
304 left_margin = hists__col_len(hists, se->se_width_idx);
352 struct hists *hists,
365 hist_entry__sort_snprintf(he, bf + ret, size - ret, hists);
370 ret += hist_entry__callchain_fprintf(he, hists, fp);
375 size_t hists__fprintf(struct hists *hists, boo argument
294 hist_entry__callchain_fprintf(struct hist_entry *he, struct hists *hists, FILE *fp) argument
351 hist_entry__fprintf(struct hist_entry *he, size_t size, struct hists *hists, char *bf, size_t bfsz, FILE *fp) argument
[all...]

Completed in 298 milliseconds