/openbmc/linux/tools/perf/tests/ |
H A D | hists_filter.c | 71 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local 75 hists->dso_filter = NULL; in add_hist_entries() 154 struct hists *hists = evsel__hists(evsel); in test__hists_filter() local 161 print_hists_out(hists); in test__hists_filter() 174 hists->nr_entries == hists->nr_non_filtered_entries); in test__hists_filter() 185 print_hists_out(hists); in test__hists_filter() 214 print_hists_out(hists); in test__hists_filter() 234 hists->dso_filter = NULL; in test__hists_filter() 249 print_hists_out(hists); in test__hists_filter() 278 print_hists_out(hists); in test__hists_filter() [all …]
|
H A D | hists_cumulate.c | 80 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument 130 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument 190 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test() argument 212 print_hists_out(hists); in do_test() 266 struct hists *hists = evsel__hists(evsel); in test1() local 308 del_hist_entries(hists); in test1() 317 struct hists *hists = evsel__hists(evsel); in test2() local 456 del_hist_entries(hists); in test2() 465 struct hists *hists = evsel__hists(evsel); in test3() local 513 del_hist_entries(hists); in test3() [all …]
|
H A D | hists_link.c | 81 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local 160 static int __validate_match(struct hists *hists) in __validate_match() argument 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 224 root = hists->entries_in; in __validate_link() 281 static int validate_link(struct hists *leader, struct hists *other) in validate_link() 289 struct hists *hists, *first_hists; in test__hists_link() local 326 hists = evsel__hists(evsel); in test__hists_link() 330 print_hists_in(hists); in test__hists_link() [all …]
|
H A D | hists_output.c | 50 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument 95 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument 141 struct hists *hists = evsel__hists(evsel); in test1() local 175 print_hists_out(hists); in test1() 178 root = &hists->entries; in test1() 243 struct hists *hists = evsel__hists(evsel); in test2() local 278 root = &hists->entries; in test2() 299 struct hists *hists = evsel__hists(evsel); in test3() local 332 root = &hists->entries; in test3() 373 struct hists *hists = evsel__hists(evsel); in test4() local [all …]
|
H A D | hists_common.h | 73 void print_hists_in(struct hists *hists); 74 void print_hists_out(struct hists *hists);
|
H A D | hists_common.c | 163 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()
|
/openbmc/linux/tools/perf/util/ |
H A D | hist.h | 183 struct hists *hists); 199 void hists__delete_entries(struct hists *hists); 204 u64 hists__total_period(struct hists *hists); 205 void hists__reset_stats(struct hists *hists); 207 void hists__inc_nr_events(struct hists *hists); 217 void hists__filter_by_dso(struct hists *hists); 231 void hists__reset_col_len(struct hists *hists); 236 int hists__unlink(struct hists *hists); 240 struct hists hists; member 278 struct hists *hists); [all …]
|
H A D | hist.c | 62 void hists__reset_col_len(struct hists *hists) in hists__reset_col_len() argument 705 __hists__add_entry(struct hists *hists, in __hists__add_entry() argument 743 .hists = hists, in __hists__add_entry() 799 .hists = hists, in hists__add_entry_block() 1283 struct hists *hists = left->hists; in hist_entry__cmp() local 1303 struct hists *hists = left->hists; in hist_entry__collapse() local 1724 struct hists *hists = a->hists; in hist_entry__sort() local 2417 he->hists = hists; in hists__add_dummy_entry() 2468 he->hists = hists; in add_dummy_hierarchy_entry() 2656 int hists__unlink(struct hists *hists) in hists__unlink() argument [all …]
|
H A D | stream.c | 113 static void init_hot_callchain(struct hists *hists, struct evsel_streams *es) in init_hot_callchain() argument 115 struct rb_node *next = rb_first_cached(&hists->entries); in init_hot_callchain() 125 es->streams_hits = callchain_total_hits(hists); in init_hot_callchain() 138 struct hists *hists = evsel__hists(pos); in evlist__init_callchain_streams() local 140 hists__output_resort(hists, NULL); in evlist__init_callchain_streams() 141 init_hot_callchain(hists, &es[i]); in evlist__init_callchain_streams()
|
H A D | block-info.c | 165 struct hists *hists __maybe_unused, in block_column_header() 177 struct hists *hists __maybe_unused) in block_column_width() 402 static int process_block_report(struct hists *hists, in process_block_report() argument 407 struct rb_node *next = rb_first_cached(&hists->entries); in process_block_report() 447 struct hists *hists = evsel__hists(pos); in block_info__create_report() local 449 process_block_report(hists, &block_reports[i], total_cycles, in block_info__create_report()
|
H A D | sort.h | 145 struct hists *hists; member 196 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit() 296 struct hists block_hists;
|
H A D | callchain.h | 16 struct hists; 310 u64 callchain_total_hits(struct hists *hists);
|
/openbmc/linux/tools/perf/ui/stdio/ |
H A D | hist.c | 459 struct hists *hists, in hist_entry__hierarchy_fprintf() argument 591 struct hists *hists = he->hists; in hist_entry__fprintf() local 632 static int hists__fprintf_hierarchy_headers(struct hists *hists, in hists__fprintf_hierarchy_headers() argument 644 indent = hists->nr_hpp_node; in hists__fprintf_hierarchy_headers() 728 static void fprintf_line(struct hists *hists, struct perf_hpp *hpp, in fprintf_line() argument 736 hists__for_each_format(hists, fmt) { in fprintf_line() 753 hists__fprintf_standard_headers(struct hists *hists, in hists__fprintf_standard_headers() argument 768 fprintf_line(hists, hpp, line, fp); in hists__fprintf_standard_headers() 800 int hists__fprintf_headers(struct hists *hists, FILE *fp) in hists__fprintf_headers() argument 817 size_t hists__fprintf(struct hists *hists, bool show_header, int max_rows, in hists__fprintf() argument [all …]
|
/openbmc/linux/tools/perf/ui/ |
H A D | hist.c | 31 struct hists *hists = he->hists; in __hpp__fmt() local 292 struct hists *hists) in hpp__width_fn() argument 307 struct hists *hists, int line __maybe_unused, in hpp__header_fn() argument 713 unsigned int hists__sort_list_width(struct hists *hists) in hists__sort_list_width() argument 738 unsigned int hists__overhead_width(struct hists *hists) in hists__overhead_width() argument 760 void perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_width() argument 793 void hists__reset_column_width(struct hists *hists) in hists__reset_column_width() argument 826 static int add_hierarchy_fmt(struct hists *hists, struct perf_hpp_fmt *fmt) in add_hierarchy_fmt() argument 849 hists->nr_hpp_node++; in add_hierarchy_fmt() 871 struct hists *hists; in perf_hpp__setup_hists_formats() local [all …]
|
/openbmc/linux/tools/perf/ui/browsers/ |
H A D | hists.h | 11 struct hists *hists; member 32 struct hist_browser *hist_browser__new(struct hists *hists); 37 struct hists *hists);
|
H A D | hists.c | 64 struct hists *hists = browser->hists; in hist_browser__get_folding() local 82 struct hists *hists = hb->hists; in hist_browser__set_title_space() local 106 struct hists *hists = hb->hists; in hist_browser__update_rows() local 1646 struct hists *hists = browser->hists; in hists_browser__scnprintf_headers() local 1683 struct hists *hists = browser->hists; in hists_browser__scnprintf_hierarchy_headers() local 1779 struct hists *hists = browser->hists; in hists_browser__headers() local 2209 struct hists *hists) in hist_browser__init() argument 2213 browser->hists = hists; in hist_browser__init() 2945 struct hists *hists = evsel__hists(evsel); in evsel__hists_browse() local 3408 struct hists *hists = evsel__hists(evsel); in perf_evsel_menu__write() local [all …]
|
H A D | Build | 2 perf-y += hists.o
|
/openbmc/linux/tools/perf/ |
H A D | builtin-c2c.c | 49 struct hists hists; member 179 hists__delete_entries(&c2c_he->hists->hists); in c2c_he_free() 212 hists = c2c_he->hists = zalloc(sizeof(*hists)); in he__get_c2c_hists() 462 struct hists *hists) in c2c_width() argument 817 hists = container_of(c2c_he->he.hists, struct c2c_hists, hists); in percent_costly_snoop() 904 hists = container_of(he->hists, struct c2c_hists, hists); in total_stats() 920 hists = container_of(c2c_he->he.hists, struct c2c_hists, hists); \ 2073 __hists__init(&hists->hists, &hists->list); in c2c_hists__init() 2173 dim = &c2c.hists == c2c_he->hists ? in set_node_width() 2693 perf_c2c_browser__new(struct hists *hists) in perf_c2c_browser__new() argument [all …]
|
H A D | builtin-diff.c | 76 struct hists *hists; member 399 struct hists *hists = evsel__hists(evsel); in diff__process_sample_event() local 504 struct hists *hists = evsel__hists(evsel); in evlist__collapse_resort() local 526 if (pair->hists == d->hists) in get_pair_data() 541 static void hists__baseline_only(struct hists *hists) in hists__baseline_only() argument 685 static void hists__precompute(struct hists *hists) in hists__precompute() argument 945 static void hists__process(struct hists *hists) in hists__process() argument 989 struct hists *hists; in data_process() local 996 d->hists = hists; in data_process() 1685 struct hists *hists __maybe_unused, in hpp__header() [all …]
|
H A D | builtin-annotate.c | 231 struct hists *hists = evsel__hists(evsel); in evsel__add_sample() local 263 he = hists__add_entry(hists, al, NULL, NULL, NULL, NULL, sample, true); in evsel__add_sample() 268 hists__inc_nr_samples(hists, true); in evsel__add_sample() 322 static void hists__find_annotations(struct hists *hists, in hists__find_annotations() argument 326 struct rb_node *nd = rb_first_cached(&hists->entries), *next; in hists__find_annotations() 342 u64 total = hists__total_period(hists); in hists__find_annotations() 448 struct hists *hists = evsel__hists(pos); in __cmd_annotate() local 449 u32 nr_samples = hists->stats.nr_samples; in __cmd_annotate() 453 hists__collapse_resort(hists, NULL); in __cmd_annotate() 461 hists__find_annotations(hists, pos, ann); in __cmd_annotate()
|
H A D | builtin-top.c | 226 mutex_unlock(&he->hists->lock); in perf_top__record_precise_ip() 236 mutex_lock(&he->hists->lock); in perf_top__record_precise_ip() 286 struct hists *hists = evsel__hists(pos); in perf_top__resort_hists() local 292 hists__unlink(hists); in perf_top__resort_hists() 296 hists__delete_entries(hists); in perf_top__resort_hists() 325 struct hists *hists = evsel__hists(evsel); in perf_top__print_sym_table() local 397 struct hists *hists = evsel__hists(top->sym_evsel); in perf_top__prompt_symbol() local 644 struct hists *hists = evsel__hists(pos); in display_thread_tui() local 831 struct hists *hists = evsel__hists(evsel); in perf_event__process_sample() local 843 mutex_lock(&hists->lock); in perf_event__process_sample() [all …]
|
H A D | builtin-kvm.c | 84 struct hists hists; member 115 struct hists *hists __maybe_unused); 120 int width = fmt_width(fmt, hpp, he->hists); in ev_name_entry() 336 struct hists *hists __maybe_unused) in fmt_width() 345 struct hists *hists, int line __maybe_unused, in fmt_header() argument 350 int width = fmt_width(fmt, hpp, hists); in fmt_header() 541 perf_kvm_browser__new(struct hists *hists) in perf_kvm_browser__new() argument 551 static int kvm__hists_browse(struct hists *hists) in kvm__hists_browse() argument 556 browser = perf_kvm_browser__new(hists); in kvm__hists_browse() 587 kvm__hists_browse(&kvm_hists.hists); in kvm_display() [all …]
|
H A D | builtin-report.c | 470 static size_t hists__fprintf_nr_sample_events(struct hists *hists, struct report *rep, in hists__fprintf_nr_sample_events() argument 476 u64 nr_events = hists->stats.total_period; in hists__fprintf_nr_sample_events() 477 struct evsel *evsel = hists_to_evsel(hists); in hists__fprintf_nr_sample_events() 480 int socked_id = hists->socket_filter; in hists__fprintf_nr_sample_events() 562 struct hists *hists = evsel__hists(pos); in evlist__tty_browse_hists() local 699 struct hists *hists = evsel__hists(pos); in report__collapse_hists() local 704 hists->socket_filter = rep->socket_filter; in report__collapse_hists() 714 hists__match(leader_hists, hists); in report__collapse_hists() 715 hists__link(leader_hists, hists); in report__collapse_hists() 757 struct hists *hists = evsel__hists(evsel); in count_sample_event() local [all …]
|
/openbmc/linux/tools/perf/ui/gtk/ |
H A D | hists.c | 293 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() 375 hists__for_each_format(hists, fmt) { in perf_gtk__show_hists() 405 static void perf_gtk__add_hierarchy_entries(struct hists *hists, in perf_gtk__add_hierarchy_entries() argument 417 u64 total = hists__total_period(hists); in perf_gtk__add_hierarchy_entries() 497 static void perf_gtk__show_hierarchy(GtkWidget *window, struct hists *hists, in perf_gtk__show_hierarchy() argument 516 hists__for_each_format(hists, fmt) { in perf_gtk__show_hierarchy() 583 perf_gtk__add_hierarchy_entries(hists, &hists->entries, store, in perf_gtk__show_hierarchy() [all …]
|
H A D | Build | 4 gtk-y += hists.o
|