Home
last modified time | relevance | path

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

12

/linux/tools/perf/tests/
A Dhists_filter.c69 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
73 hists->dso_filter = NULL; in add_hist_entries()
142 struct hists *hists = evsel__hists(evsel); in test__hists_filter() local
149 print_hists_out(hists); in test__hists_filter()
162 hists->nr_entries == hists->nr_non_filtered_entries); in test__hists_filter()
173 print_hists_out(hists); in test__hists_filter()
202 print_hists_out(hists); in test__hists_filter()
222 hists->dso_filter = NULL; in test__hists_filter()
237 print_hists_out(hists); in test__hists_filter()
266 print_hists_out(hists); in test__hists_filter()
[all …]
A Dhists_cumulate.c80 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument
126 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
177 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test() argument
199 print_hists_out(hists); in do_test()
253 struct hists *hists = evsel__hists(evsel); in test1() local
295 del_hist_entries(hists); in test1()
304 struct hists *hists = evsel__hists(evsel); in test2() local
443 del_hist_entries(hists); in test2()
452 struct hists *hists = evsel__hists(evsel); in test3() local
500 del_hist_entries(hists); in test3()
[all …]
A Dhists_link.c78 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
141 static int __validate_match(struct hists *hists) in __validate_match() argument
153 root = hists->entries_in; in __validate_match()
184 static int validate_match(struct hists *leader, struct hists *other) in validate_match()
189 static int __validate_link(struct hists *hists, int idx) in __validate_link() argument
205 root = hists->entries_in; in __validate_link()
262 static int validate_link(struct hists *leader, struct hists *other) in validate_link()
270 struct hists *hists, *first_hists; in test__hists_link() local
307 hists = evsel__hists(evsel); in test__hists_link()
311 print_hists_in(hists); in test__hists_link()
[all …]
A Dhists_output.c50 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument
92 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
128 struct hists *hists = evsel__hists(evsel); in test1() local
162 print_hists_out(hists); in test1()
165 root = &hists->entries; in test1()
230 struct hists *hists = evsel__hists(evsel); in test2() local
265 root = &hists->entries; in test2()
286 struct hists *hists = evsel__hists(evsel); in test3() local
319 root = &hists->entries; in test3()
360 struct hists *hists = evsel__hists(evsel); in test4() local
[all …]
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()
193 void print_hists_out(struct hists *hists) in print_hists_out() argument
199 root = &hists->entries; in print_hists_out()
A Dhists_common.h73 void print_hists_in(struct hists *hists);
74 void print_hists_out(struct hists *hists);
/linux/tools/perf/util/
A Dhist.h175 struct hists *hists);
191 void hists__delete_entries(struct hists *hists);
196 u64 hists__total_period(struct hists *hists);
197 void hists__reset_stats(struct hists *hists);
199 void hists__inc_nr_events(struct hists *hists);
208 void hists__filter_by_dso(struct hists *hists);
222 void hists__reset_col_len(struct hists *hists);
227 int hists__unlink(struct hists *hists);
231 struct hists hists; member
269 struct hists *hists);
[all …]
A Dhist.c61 void hists__reset_col_len(struct hists *hists) in hists__reset_col_len() argument
691 __hists__add_entry(struct hists *hists, in __hists__add_entry() argument
728 .hists = hists, in __hists__add_entry()
780 .hists = hists, in hists__add_entry_block()
1255 struct hists *hists = left->hists; in hist_entry__cmp() local
1275 struct hists *hists = left->hists; in hist_entry__collapse() local
1683 struct hists *hists = a->hists; in hist_entry__sort() local
2371 he->hists = hists; in hists__add_dummy_entry()
2422 he->hists = hists; in add_dummy_hierarchy_entry()
2610 int hists__unlink(struct hists *hists) in hists__unlink() argument
[all …]
A Dstream.c113 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()
A Dblock-info.c165 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()
A Dsort.h144 struct hists *hists; member
194 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit()
286 struct hists block_hists;
A Dcallchain.h16 struct hists;
306 u64 callchain_total_hits(struct hists *hists);
A Dsort.c278 if (!hists__has(left->hists, dso) || hists__has(right->hists, dso)) { in sort__sym_cmp()
755 evsel = hists_to_evsel(he->hists); in get_trace_output()
777 evsel = hists_to_evsel(left->hists); in sort__trace_cmp()
794 evsel = hists_to_evsel(he->hists); in hist_entry__trace_snprintf()
1928 void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_sort_width() argument
1940 struct hists *hists, int line __maybe_unused, in __sort__hpp_header() argument
1956 struct hists *hists) in __sort__hpp_width() argument
2246 struct hists *hists __maybe_unused, in __sort__hde_header()
2263 struct hists *hists __maybe_unused) in __sort__hde_width()
2276 bool perf_hpp__defined_dynamic_entry(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__defined_dynamic_entry() argument
[all …]
/linux/tools/perf/ui/stdio/
A Dhist.c459 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 …]
/linux/tools/perf/ui/
A Dhist.c30 struct hists *hists = he->hists; in __hpp__fmt() local
289 struct hists *hists) in hpp__width_fn() argument
304 struct hists *hists, int line __maybe_unused, in hpp__header_fn() argument
710 unsigned int hists__sort_list_width(struct hists *hists) in hists__sort_list_width() argument
735 unsigned int hists__overhead_width(struct hists *hists) in hists__overhead_width() argument
757 void perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_width() argument
790 void hists__reset_column_width(struct hists *hists) in hists__reset_column_width() argument
823 static int add_hierarchy_fmt(struct hists *hists, struct perf_hpp_fmt *fmt) in add_hierarchy_fmt() argument
846 hists->nr_hpp_node++; in add_hierarchy_fmt()
868 struct hists *hists; in perf_hpp__setup_hists_formats() local
[all …]
/linux/tools/perf/
A Dbuiltin-c2c.c49 struct hists hists; member
167 hists__delete_entries(&c2c_he->hists->hists); in c2c_he_free()
200 hists = c2c_he->hists = zalloc(sizeof(*hists)); in he__get_c2c_hists()
440 struct hists *hists) in c2c_width() argument
795 hists = container_of(c2c_he->he.hists, struct c2c_hists, hists); in percent_hitm()
877 hists = container_of(he->hists, struct c2c_hists, hists); in total_stats()
893 hists = container_of(c2c_he->he.hists, struct c2c_hists, hists); \
1838 __hists__init(&hists->hists, &hists->list); in c2c_hists__init()
1932 dim = &c2c.hists == c2c_he->hists ? in set_node_width()
2414 perf_c2c_browser__new(struct hists *hists) in perf_c2c_browser__new() argument
[all …]
A Dbuiltin-diff.c76 struct hists *hists; member
399 struct hists *hists = evsel__hists(evsel); in diff__process_sample_event() local
502 struct hists *hists = evsel__hists(evsel); in evlist__collapse_resort() local
524 if (pair->hists == d->hists) in get_pair_data()
539 static void hists__baseline_only(struct hists *hists) in hists__baseline_only() argument
683 static void hists__precompute(struct hists *hists) in hists__precompute() argument
943 static void hists__process(struct hists *hists) in hists__process() argument
987 struct hists *hists; in data_process() local
994 d->hists = hists; in data_process()
1683 struct hists *hists __maybe_unused, in hpp__header()
[all …]
A Dbuiltin-annotate.c219 struct hists *hists = evsel__hists(evsel); in evsel__add_sample() local
250 he = hists__add_entry(hists, al, NULL, NULL, NULL, sample, true); in evsel__add_sample()
255 hists__inc_nr_samples(hists, true); in evsel__add_sample()
307 static void hists__find_annotations(struct hists *hists, in hists__find_annotations() argument
311 struct rb_node *nd = rb_first_cached(&hists->entries), *next; in hists__find_annotations()
420 struct hists *hists = evsel__hists(pos); in __cmd_annotate() local
421 u32 nr_samples = hists->stats.nr_samples; in __cmd_annotate()
425 hists__collapse_resort(hists, NULL); in __cmd_annotate()
433 hists__find_annotations(hists, pos, ann); in __cmd_annotate()
A Dbuiltin-report.c440 static size_t hists__fprintf_nr_sample_events(struct hists *hists, struct report *rep, in hists__fprintf_nr_sample_events() argument
446 u64 nr_events = hists->stats.total_period; in hists__fprintf_nr_sample_events()
447 struct evsel *evsel = hists_to_evsel(hists); in hists__fprintf_nr_sample_events()
450 int socked_id = hists->socket_filter; in hists__fprintf_nr_sample_events()
533 struct hists *hists = evsel__hists(pos); in evlist__tty_browse_hists() local
670 struct hists *hists = evsel__hists(pos); in report__collapse_hists() local
675 hists->socket_filter = rep->socket_filter; in report__collapse_hists()
685 hists__match(leader_hists, hists); in report__collapse_hists()
686 hists__link(leader_hists, hists); in report__collapse_hists()
729 struct hists *hists = evsel__hists(evsel); in count_sample_event() local
[all …]
A Dbuiltin-top.c122 evsel = hists_to_evsel(he->hists); in perf_top__parse_source()
248 evsel = hists_to_evsel(he->hists); in perf_top__show_details()
283 struct hists *hists = evsel__hists(pos); in perf_top__resort_hists() local
289 hists__unlink(hists); in perf_top__resort_hists()
293 hists__delete_entries(hists); in perf_top__resort_hists()
307 hists__link(leader_hists, hists); in perf_top__resort_hists()
322 struct hists *hists = evsel__hists(evsel); in perf_top__print_sym_table() local
394 struct hists *hists = evsel__hists(top->sym_evsel); in perf_top__prompt_symbol() local
641 struct hists *hists = evsel__hists(pos); in display_thread_tui() local
828 struct hists *hists = evsel__hists(evsel); in perf_event__process_sample() local
[all …]
/linux/tools/perf/ui/browsers/
A Dhists.c64 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
1656 struct hists *hists = browser->hists; in hists_browser__scnprintf_headers() local
1693 struct hists *hists = browser->hists; in hists_browser__scnprintf_hierarchy_headers() local
1789 struct hists *hists = browser->hists; in hists_browser__headers() local
2219 struct hists *hists) in hist_browser__init() argument
2223 browser->hists = hists; in hist_browser__init()
2955 struct hists *hists = evsel__hists(evsel); in evsel__hists_browse() local
3418 struct hists *hists = evsel__hists(evsel); in perf_evsel_menu__write() local
[all …]
A Dhists.h12 struct hists *hists; member
34 struct hist_browser *hist_browser__new(struct hists *hists);
39 struct hists *hists);
A DBuild2 perf-y += hists.o
/linux/tools/perf/ui/gtk/
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()
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 …]
A DBuild4 gtk-y += hists.o

Completed in 81 milliseconds

12