Home
last modified time | relevance | path

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

12

/linux/tools/perf/tests/
H A Dhists_filter.c71 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
75 hists->thread_filter = NULL; in add_hist_entries()
76 hists->dso_filter = NULL; in add_hist_entries()
77 hists->symbol_filter_str = NULL; in add_hist_entries()
155 struct hists *hists = evsel__hists(evsel); in test__hists_filter()
157 hists__collapse_resort(hists, NULL); in test__hists_filter()
162 print_hists_out(hists); in test__hists_filter()
166 hists in test__hists_filter()
154 struct hists *hists = evsel__hists(evsel); test__hists_filter() local
[all...]
H A Dhists_cumulate.c80 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument
83 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries()
130 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
137 if (hists__has(hists, need_collapse)) in del_hist_entries()
138 root_in = &hists->entries_collapsed; in del_hist_entries()
140 root_in = hists->entries_in; in del_hist_entries()
142 root_out = &hists->entries; in del_hist_entries()
190 static int do_test(struct hists *hist argument
266 struct hists *hists = evsel__hists(evsel); test1() local
317 struct hists *hists = evsel__hists(evsel); test2() local
465 struct hists *hists = evsel__hists(evsel); test3() local
522 struct hists *hists = evsel__hists(evsel); test4() local
[all...]
H A Dhists_link.c81 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
92 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
112 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
160 static int __validate_match(struct hists *hists) in __validate_match() argument
169 if (hists__has(hists, need_collapse)) in __validate_match()
170 root = &hists->entries_collapsed; in __validate_match()
172 root = hists->entries_in; in __validate_match()
203 static int validate_match(struct hists *leader, struct hists *other) in validate_match()
208 static int __validate_link(struct hists *hists, int idx) in __validate_link() argument
221 if (hists__has(hists, need_collapse)) in __validate_link()
[all …]
H A Dhists_output.c50 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument
53 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries()
95 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
102 if (hists__has(hists, need_collapse)) in del_hist_entries()
103 root_in = &hists->entries_collapsed; in del_hist_entries()
105 root_in = hists->entries_in; in del_hist_entries()
107 root_out = &hists->entries; in del_hist_entries()
141 struct hists *hist in test1() local
243 struct hists *hists = evsel__hists(evsel); test2() local
299 struct hists *hists = evsel__hists(evsel); test3() local
373 struct hists *hists = evsel__hists(evsel); test4() local
475 struct hists *hists = evsel__hists(evsel); test5() local
[all...]
H A Dhists_common.c163 void print_hists_in(struct hists *hists) in print_hists_in() argument
169 if (hists__has(hists, need_collapse)) in print_hists_in()
170 root = &hists->entries_collapsed; in print_hists_in()
172 root = hists->entries_in; in print_hists_in()
195 void print_hists_out(struct hists *hists) in print_hists_out() argument
201 root = &hists->entries; in print_hists_out()
H A Dhists_common.h73 void print_hists_in(struct hists *hists);
74 void print_hists_out(struct hists *hists);
/linux/tools/perf/util/
H A Dhist.c38 static bool hists__filter_entry_by_dso(struct hists *hists,
40 static bool hists__filter_entry_by_thread(struct hists *hists,
42 static bool hists__filter_entry_by_symbol(struct hists *hists,
44 static bool hists__filter_entry_by_socket(struct hists *hists,
46 static bool hists__filter_entry_by_parallelism(struct hists *hists,
49 hists__col_len(struct hists * hists,enum hist_column col) hists__col_len() argument
54 hists__set_col_len(struct hists * hists,enum hist_column col,u16 len) hists__set_col_len() argument
59 hists__new_col_len(struct hists * hists,enum hist_column col,u16 len) hists__new_col_len() argument
68 hists__reset_col_len(struct hists * hists) hists__reset_col_len() argument
76 hists__set_unres_dso_col_len(struct hists * hists,int dso) hists__set_unres_dso_col_len() argument
86 hists__calc_col_len(struct hists * hists,struct hist_entry * h) hists__calc_col_len() argument
263 hists__output_recalc_col_len(struct hists * hists,int max_rows) hists__output_recalc_col_len() argument
339 hists__update_mem_stat(struct hists * hists,struct hist_entry * he,struct mem_info * mi,u64 period) hists__update_mem_stat() argument
362 hists__add_mem_stat(struct hists * hists,struct hist_entry * dst,struct hist_entry * src) hists__add_mem_stat() argument
374 hists__clone_mem_stat(struct hists * hists,struct hist_entry * dst,struct hist_entry * src) hists__clone_mem_stat() argument
391 hists__decay_mem_stat(struct hists * hists,struct hist_entry * he) hists__decay_mem_stat() argument
404 hists__decay_entry(struct hists * hists,struct hist_entry * he) hists__decay_entry() argument
445 hists__delete_entry(struct hists * hists,struct hist_entry * he) hists__delete_entry() argument
471 hists__decay_entries(struct hists * hists,bool zap_user,bool zap_kernel) hists__decay_entries() argument
487 hists__delete_entries(struct hists * hists) hists__delete_entries() argument
500 hists__get_entry(struct hists * hists,int idx) hists__get_entry() argument
679 hists__findnew_entry(struct hists * hists,struct hist_entry * entry,const struct addr_location * al,bool sample_self) hists__findnew_entry() argument
792 __hists__add_entry(struct hists * hists,struct addr_location * al,struct symbol * sym_parent,struct branch_info * bi,struct mem_info * mi,struct kvm_info * ki,struct block_info * block_info,struct perf_sample * sample,bool sample_self,struct hist_entry_ops * ops) __hists__add_entry() argument
858 hists__add_entry(struct hists * hists,struct addr_location * al,struct symbol * sym_parent,struct branch_info * bi,struct mem_info * mi,struct kvm_info * ki,struct perf_sample * sample,bool sample_self) hists__add_entry() argument
871 hists__add_entry_ops(struct hists * hists,struct hist_entry_ops * ops,struct addr_location * al,struct symbol * sym_parent,struct branch_info * bi,struct mem_info * mi,struct kvm_info * ki,struct perf_sample * sample,bool sample_self) hists__add_entry_ops() argument
885 hists__add_entry_block(struct hists * hists,struct addr_location * al,struct block_info * block_info) hists__add_entry_block() argument
935 struct hists *hists = evsel__hists(iter->evsel); iter_add_single_mem_entry() local
969 struct hists *hists = evsel__hists(evsel); iter_finish_mem_entry() local
1037 struct hists *hists = evsel__hists(evsel); iter_add_next_branch_entry() local
1079 struct hists *hists = evsel__hists(evsel); iter_finish_branch_entry() local
1166 struct hists *hists = evsel__hists(evsel); iter_add_single_cumulative_entry() local
1389 struct hists *hists = left->hists; hist_entry__cmp_impl() local
1623 hierarchy_insert_entry(struct hists * hists,struct rb_root_cached * root,struct hist_entry * he,struct hist_entry * parent_he,struct perf_hpp_list * hpp_list) hierarchy_insert_entry() argument
1694 hists__hierarchy_insert_entry(struct hists * hists,struct rb_root_cached * root,struct hist_entry * he) hists__hierarchy_insert_entry() argument
1746 hists__collapse_insert_entry(struct hists * hists,struct rb_root_cached * root,struct hist_entry * he) hists__collapse_insert_entry() argument
1802 hists__get_rotate_entries_in(struct hists * hists) hists__get_rotate_entries_in() argument
1817 hists__apply_filters(struct hists * hists,struct hist_entry * he) hists__apply_filters() argument
1826 hists__collapse_resort(struct hists * hists,struct ui_progress * prog) hists__collapse_resort() argument
1867 hists__reset_filter_stats(struct hists * hists) hists__reset_filter_stats() argument
1874 hists__reset_stats(struct hists * hists) hists__reset_stats() argument
1883 hists__inc_filter_stats(struct hists * hists,struct hist_entry * h) hists__inc_filter_stats() argument
1890 hists__inc_stats(struct hists * hists,struct hist_entry * h) hists__inc_stats() argument
1900 hierarchy_recalc_total_periods(struct hists * hists) hierarchy_recalc_total_periods() argument
1961 hists__hierarchy_output_resort(struct hists * hists,struct ui_progress * prog,struct rb_root_cached * root_in,struct rb_root_cached * root_out,u64 min_callchain_hits,bool use_callchain) hists__hierarchy_output_resort() argument
2061 output_resort(struct hists * hists,struct ui_progress * prog,bool use_callchain,hists__resort_cb_t cb,void * cb_arg) output_resort() argument
2136 hists__output_resort(struct hists * hists,struct ui_progress * prog) hists__output_resort() argument
2141 hists__output_resort_cb(struct hists * hists,struct ui_progress * prog,hists__resort_cb_t cb) hists__output_resort_cb() argument
2228 hists__remove_entry_filter(struct hists * hists,struct hist_entry * h,enum hist_filter filter) hists__remove_entry_filter() argument
2270 hists__filter_entry_by_dso(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_dso() argument
2282 hists__filter_entry_by_thread(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_thread() argument
2294 hists__filter_entry_by_symbol(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_symbol() argument
2307 hists__filter_entry_by_socket(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_socket() argument
2319 hists__filter_entry_by_parallelism(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_parallelism() argument
2331 hists__filter_by_type(struct hists * hists,int type,filter_fn_t filter) hists__filter_by_type() argument
2391 hists__filter_hierarchy(struct hists * hists,int type,const void * arg) hists__filter_hierarchy() argument
2458 hists__filter_by_thread(struct hists * hists) hists__filter_by_thread() argument
2468 hists__filter_by_dso(struct hists * hists) hists__filter_by_dso() argument
2478 hists__filter_by_symbol(struct hists * hists) hists__filter_by_symbol() argument
2488 hists__filter_by_socket(struct hists * hists) hists__filter_by_socket() argument
2498 hists__filter_by_parallelism(struct hists * hists) hists__filter_by_parallelism() argument
2519 hists__inc_nr_events(struct hists * hists) hists__inc_nr_events() argument
2524 hists__inc_nr_samples(struct hists * hists,bool filtered) hists__inc_nr_samples() argument
2531 hists__inc_nr_lost_samples(struct hists * hists,u32 lost) hists__inc_nr_lost_samples() argument
2536 hists__inc_nr_dropped_samples(struct hists * hists,u32 lost) hists__inc_nr_dropped_samples() argument
2541 hists__add_dummy_entry(struct hists * hists,struct hist_entry * pair) hists__add_dummy_entry() argument
2590 add_dummy_hierarchy_entry(struct hists * hists,struct rb_root_cached * root,struct hist_entry * pair) add_dummy_hierarchy_entry() argument
2631 hists__find_entry(struct hists * hists,struct hist_entry * he) hists__find_entry() argument
2805 hists__unlink(struct hists * hists) hists__unlink() argument
2872 struct hists *hists = evsel__hists(pos); evlist__fprintf_nr_events() local
2897 hists__total_period(struct hists * hists) hists__total_period() argument
2903 hists__total_latency(struct hists * hists) hists__total_latency() argument
2909 __hists__scnprintf_title(struct hists * hists,char * bf,size_t size,bool show_freq) __hists__scnprintf_title() argument
3011 __hists__init(struct hists * hists,struct perf_hpp_list * hpp_list) __hists__init() argument
3040 hists__delete_all_entries(struct hists * hists) hists__delete_all_entries() argument
3050 struct hists *hists = evsel__hists(evsel); hists_evsel__exit() local
3070 struct hists *hists = evsel__hists(evsel); hists_evsel__init() local
[all...]
H A Dhist.h113 struct hists {
298 struct hists *hists;
345 struct hist_entry *hists__add_entry(struct hists *hists,
354 struct hist_entry *hists__add_entry_ops(struct hists *hists,
364 struct hist_entry *hists__add_entry_block(struct hists *hists,
376 struct hists *hist
112 struct hists { global() struct
129 statshists global() argument
142 mem_stat_totalhists global() argument
297 struct hists *hists; global() member
418 hists__has_filter(struct hists * hists) hists__has_filter() argument
451 struct hists hists; global() member
454 hists_to_evsel(struct hists * hists) hists_to_evsel() argument
466 hists__has_callchains(struct hists * hists) hists__has_callchains() argument
570 hists__for_each_format(hists,format) global() argument
573 hists__for_each_sort_list(hists,format) global() argument
631 perf_hpp__should_skip(struct perf_hpp_fmt * format,struct hists * hists) perf_hpp__should_skip() argument
834 hists__scnprintf_title(struct hists * hists,char * bf,size_t size) hists__scnprintf_title() argument
[all...]
H A Dblock-info.c14 #include "ui/browsers/hists.h"
160 hists_to_evsel(he->hists)); in block_info__process_sym()
180 struct hists *hists __maybe_unused, in block_column_header()
192 struct hists *hists __maybe_unused) in block_column_width()
438 static int process_block_report(struct hists *hists, in process_block_report() argument
443 struct rb_node *next = rb_first_cached(&hists->entries); in process_block_report()
483 struct hists *hist in block_info__create_report() local
[all...]
H A Dcallchain.h13 struct hists;
305 u64 callchain_total_hits(struct hists *hists);
H A Dsort.c494 if (!hists__has(left->hists, dso)) { in hist_entry__symoff_snprintf()
1232 evsel = hists_to_evsel(he->hists); in hist_entry__dso_to_filter()
1255 evsel = hists_to_evsel(left->hists); in sort__sym_to_cmp()
1272 evsel = hists_to_evsel(he->hists); in hist_entry__sym_from_snprintf()
2602 if (he && he->hists) {
2603 struct evsel *evsel = hists_to_evsel(he->hists);
2850 void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists) in MK_SORT_ENTRY_CHK()
2858 hists__new_col_len(hists, hse->se->se_width_idx, strlen(fmt->name)); in hse_free()
2862 struct hists *hist in hse_init()
2715 perf_hpp__reset_sort_width(struct perf_hpp_fmt * fmt,struct hists * hists) perf_hpp__reset_sort_width() argument
2727 __sort__hpp_header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists,int line,int * span __maybe_unused) __sort__hpp_header() argument
2747 __sort__hpp_width(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp __maybe_unused,struct hists * hists) __sort__hpp_width() argument
3101 perf_hpp__defined_dynamic_entry(struct perf_hpp_fmt * fmt,struct hists * hists) perf_hpp__defined_dynamic_entry() argument
[all...]
/linux/tools/perf/ui/
H A Dhist.c29 static int __hpp__fmt_print(struct perf_hpp *hpp, struct hists *hists, u64 val, in __hpp__fmt_print() argument
35 u64 total = fmtype == PERF_HPP_FMT_TYPE__PERCENT ? hists__total_period(hists) : in __hpp__fmt_print()
36 hists__total_latency(hists); in __hpp__fmt_print()
54 struct hists *hists; member
64 struct hists *hists = he->hists; in __hpp__fmt() local
65 struct evsel *evsel = hists_to_evsel(hists); in __hpp__fmt()
79 values[0].hists = evsel__hists(evsel); in __hpp__fmt()
87 values[++i].hists = evsel__hists(pos); in __hpp__fmt()
91 if (values[i].hists != pair->hists) in __hpp__fmt()
103 values[i].hists->stats.nr_samples == 0) in __hpp__fmt()
[all …]
/linux/tools/perf/ui/stdio/
H A Dhist.c431 if (perf_hpp__should_skip(fmt, he->hists)) in __hist_entry__snprintf()
458 return __hist_entry__snprintf(he, hpp, he->hists->hpp_list); in hist_entry__snprintf()
463 struct hists *hists, in hist_entry__hierarchy_fprintf() argument
481 fmt_node = list_first_entry(&hists->hpp_formats, in hist_entry__hierarchy_fprintf()
505 (hists->nr_hpp_node - 2) * HIERARCHY_INDENT, ""); in hist_entry__hierarchy_fprintf()
532 u64 total = hists__total_period(hists); in hist_entry__hierarchy_fprintf()
595 struct hists *hists = he->hists; in hist_entry__fprintf() local
596 u64 total_period = hists->stats.total_period; in hist_entry__fprintf()
602 return hist_entry__hierarchy_fprintf(he, &hpp, hists, fp); in hist_entry__fprintf()
636 static int hists__fprintf_hierarchy_headers(struct hists *hists, in hists__fprintf_hierarchy_headers() argument
[all …]
/linux/tools/perf/
H A Dbuiltin-c2c.c38 #include "ui/browsers/hists.h"
52 struct hists hists; member
66 struct c2c_hists *hists; member
92 struct c2c_hists hists; member
182 if (c2c_he->hists) { in c2c_he_free()
183 hists__delete_entries(&c2c_he->hists->hists); in c2c_he_free()
184 zfree(&c2c_he->hists); in c2c_he_free()
199 static int c2c_hists__init(struct c2c_hists *hists,
211 struct c2c_hists *hists; he__get_c2c_hists() local
471 symbol_width(struct hists * hists,struct sort_entry * se) symbol_width() argument
483 c2c_width(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp __maybe_unused,struct hists * hists) c2c_width() argument
499 c2c_header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists,int line,int * span) c2c_header() argument
832 struct c2c_hists *hists; percent_costly_snoop() local
923 struct c2c_hists *hists; total_stats() local
2096 c2c_hists__init(struct c2c_hists * hists,const char * sort,int nr_header_lines,struct perf_env * env) c2c_hists__init() argument
2383 hists__iterate_cb(struct hists * hists,hists__resort_cb_t cb,void * arg) hists__iterate_cb() argument
2671 c2c_cacheline_browser__new(struct hists * hists,struct hist_entry * he) c2c_cacheline_browser__new() argument
2762 perf_c2c_browser__new(struct hists * hists) perf_c2c_browser__new() argument
2774 perf_c2c__hists_browse(struct hists * hists) perf_c2c__hists_browse() argument
[all...]
H A Dbuiltin-diff.c77 struct hists *hists; member
273 u64 total = hists__total_period(he->hists); in period_percent()
313 u64 he_total = he->hists->stats.total_period; in formula_delta()
314 u64 pair_total = pair->hists->stats.total_period; in formula_delta()
317 he_total = he->hists->stats.total_non_filtered_period; in formula_delta()
318 pair_total = pair->hists->stats.total_non_filtered_period; in formula_delta()
398 struct hists *hists = evsel__hists(evsel); in diff__process_sample_event() local
426 if (!hists__add_entry_ops(hists, in diff__process_sample_event()
489 struct hists *hists = evsel__hists(evsel); evlist__collapse_resort() local
526 hists__baseline_only(struct hists * hists) hists__baseline_only() argument
670 hists__precompute(struct hists * hists) hists__precompute() argument
930 hists__process(struct hists * hists) hists__process() argument
974 struct hists *hists; data_process() local
[all...]
H A Dbuiltin-annotate.c242 struct hists *hists = evsel__hists(evsel); in evsel__add_sample()
274 he = hists__add_entry(hists, al, NULL, NULL, NULL, NULL, sample, true); in evsel__add_sample()
279 hists__inc_nr_samples(hists, true); in evsel__add_sample()
399 static void hists__find_annotations(struct hists *hists, in print_annotate_item_stat()
403 struct rb_node *nd = rb_first_cached(&hists->entries), *next; in print_annotate_item_stat()
424 u64 total = hists__total_period(hists); in hists__find_annotations()
580 struct hists *hists in __cmd_annotate()
243 struct hists *hists = evsel__hists(evsel); evsel__add_sample() local
409 hists__find_annotations(struct hists * hists,struct evsel * evsel,struct perf_annotate * ann) hists__find_annotations() argument
590 struct hists *hists = evsel__hists(pos); __cmd_annotate() local
636 struct hists *hists = evsel__hists(pos); __cmd_annotate() local
[all...]
H A Dbuiltin-top.c125 evsel = hists_to_evsel(he->hists); in perf_top__parse_source()
203 EXCLUSIVE_LOCKS_REQUIRED(he->hists->lock) in perf_top__record_precise_ip()
225 * This function is now called with he->hists->lock held. in perf_top__record_precise_ip()
228 mutex_unlock(&he->hists->lock); in perf_top__record_precise_ip()
238 mutex_lock(&he->hists->lock); in perf_top__record_precise_ip()
253 evsel = hists_to_evsel(he->hists); in perf_top__show_details()
288 struct hists *hists = evsel__hists(pos); in perf_top__resort_hists()
294 hists__unlink(hists); in perf_top__resort_hists()
298 hists__delete_entries(hists); in perf_top__resort_hists()
287 struct hists *hists = evsel__hists(pos); perf_top__resort_hists() local
326 struct hists *hists = evsel__hists(evsel); perf_top__print_sym_table() local
398 struct hists *hists = evsel__hists(top->sym_evsel); perf_top__prompt_symbol() local
645 struct hists *hists = evsel__hists(pos); display_thread_tui() local
833 struct hists *hists = evsel__hists(evsel); perf_event__process_sample() local
[all...]
H A Dbuiltin-kvm.c85 struct hists hists; member
116 struct hists *hists __maybe_unused);
121 int width = fmt_width(fmt, hpp, he->hists); in ev_name_entry()
163 int width = fmt_width(fmt, hpp, he->hists); \
213 int width = fmt_width(fmt, hpp, he->hists); in ev_entry_mean()
261 int width = fmt_width(fmt, hpp, he->hists); in EV_METRIC_PERCENT()
294 int width = fmt_width(fmt, hpp, he->hists); in ev_entry_count_precent()
337 struct hists *hists __maybe_unused) in fmt_width()
346 struct hists *hists, int line __maybe_unused, in fmt_header() argument
351 int width = fmt_width(fmt, hpp, hists); in fmt_header()
[all …]
H A Dbuiltin-report.c473 static size_t hists__fprintf_nr_sample_events(struct hists *hists, struct report *rep, in sig_handler()
478 unsigned long nr_samples = hists->stats.nr_samples; in hists__fprintf_nr_sample_events() argument
479 u64 nr_events = hists->stats.total_period; in hists__fprintf_nr_sample_events()
480 struct evsel *evsel = hists_to_evsel(hists); in hists__fprintf_nr_sample_events()
483 int socked_id = hists->socket_filter; in hists__fprintf_nr_sample_events()
489 nr_samples = hists->stats.nr_non_filtered_samples; in hists__fprintf_nr_sample_events()
490 nr_events = hists->stats.total_non_filtered_period; in hists__fprintf_nr_sample_events()
500 const struct hists *pos_hists = evsel__hists(pos); in hists__fprintf_nr_sample_events()
568 struct hists *hist in evlist__tty_browse_hists()
573 struct hists *hists = evsel__hists(pos); evlist__tty_browse_hists() local
732 struct hists *hists = evsel__hists(pos); report__collapse_hists() local
790 struct hists *hists = evsel__hists(evsel); count_sample_event() local
806 struct hists *hists = evsel__hists(evsel); count_lost_samples_event() local
[all...]
/linux/tools/perf/ui/browsers/
H A Dhists.c59 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
65 struct hists *hists = browser->hists; in hist_browser__get_folding() local
68 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding()
83 struct hists *hists = hb->hists; in hist_browser__set_title_space() local
84 struct perf_hpp_list *hpp_list = hists->hpp_list; in hist_browser__set_title_space()
98 nr_entries = hb->hists->nr_entries; in hist_browser__nr_entries()
107 struct hists *hists = hb->hists; in hist_browser__update_rows() local
108 struct perf_hpp_list *hpp_list = hists->hpp_list; in hist_browser__update_rows()
133 browser->width = 3 + (hists__sort_list_width(hb->hists) + sizeof("[k]")); in hist_browser__refresh_dimensions()
609 nd = rb_first_cached(&browser->hists->entries); in __hist_browser__set_folding()
[all …]
H A Dhists.h11 struct hists *hists; member
32 struct hist_browser *hist_browser__new(struct hists *hists);
37 struct hists *hists);
H A Dannotate-data.c24 struct type_hist_entry *hists; member
70 update_hist_entry(&entry->hists[k++], &h->addr[offset]); in get_member_overhead()
90 entry->hists = calloc(browser->nr_events, sizeof(*entry->hists)); in add_child_entries()
91 if (entry->hists == NULL) { in add_child_entries()
157 struct evsel *evsel = hists_to_evsel(he->hists); in annotated_data_browser__collect_entries()
175 zfree(&pos->hists); in annotated_data_browser__delete_entries()
394 struct evsel *leader = hists_to_evsel(he->hists); in browser__write()
425 browser__write_overhead(uib, h, &be->hists[idx++], row); in browser__write()
H A Dannotate.c829 static int annotate__scnprintf_title(struct hists *hists, char *bf, size_t size) in annotate__scnprintf_title() argument
831 int printed = hists__scnprintf_title(hists, bf, size); in annotate__scnprintf_title()
882 struct hists *hists = evsel__hists(evsel); in annotate_browser__run() local
892 annotate__scnprintf_title(hists, title, sizeof(title)); in annotate_browser__run()
935 annotate__scnprintf_title(hists, title, sizeof(title)); in annotate_browser__run()
1012 annotate__scnprintf_title(hists, title, sizeof(title)); in annotate_browser__run()
1101 annotate__scnprintf_title(hists, title, sizeof(title)); in annotate_browser__run()
1210 annotate_he.hists = he->hists; in __hist_entry__tui_annotate()
H A DBuild3 perf-ui-y += hists.o
/linux/tools/perf/ui/gtk/
H A Dhists.c293 static void perf_gtk__show_hists(GtkWidget *window, struct hists *hists, in perf_gtk__show_hists() argument
314 hists__for_each_format(hists, fmt) in perf_gtk__show_hists()
325 hists__for_each_format(hists, fmt) { in perf_gtk__show_hists()
326 if (perf_hpp__should_skip(fmt, hists)) in perf_gtk__show_hists()
358 for (nd = rb_first_cached(&hists->entries); nd; nd = rb_next(nd)) { in perf_gtk__show_hists()
361 u64 total = hists__total_period(h->hists); in perf_gtk__show_hists()
375 hists__for_each_format(hists, fmt) { in perf_gtk__show_hists()
376 if (perf_hpp__should_skip(fmt, h->hists)) in perf_gtk__show_hists()
388 symbol_conf.use_callchain && hists__has(hists, sym)) { in perf_gtk__show_hists()
405 static void perf_gtk__add_hierarchy_entries(struct hists *hists, in perf_gtk__add_hierarchy_entries() argument
[all …]

12