Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/tools/perf/tests/
H A Dhists_filter.c69 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
72 hists->thread_filter = NULL; in add_hist_entries()
73 hists->dso_filter = NULL; in add_hist_entries()
74 hists->symbol_filter_str = NULL; in add_hist_entries()
142 struct hists *hists = evsel__hists(evsel); in test__hists_filter() local
144 hists__collapse_resort(hists, NULL); in test__hists_filter()
149 print_hists_out(hists); in test__hists_filter()
153 hists in test__hists_filter()
[all...]
H A Dhists_link.c78 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
89 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
108 he = hists__add_entry(hists, &al, NULL, in add_hist_entries()
141 static int __validate_match(struct hists *hists) in __validate_match() argument
150 if (hists__has(hists, need_collapse)) in __validate_match()
151 root = &hists->entries_collapsed; in __validate_match()
153 root = hists->entries_in; in __validate_match()
184 static int validate_match(struct hists *leade
189 __validate_link(struct hists *hists, int idx) __validate_link() argument
270 struct hists *hists, *first_hists; test__hists_link() local
[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()
92 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
99 if (hists__has(hists, need_collapse)) in del_hist_entries()
100 root_in = &hists->entries_collapsed; in del_hist_entries()
102 root_in = hists->entries_in; in del_hist_entries()
104 root_out = &hists->entries; in del_hist_entries()
128 struct hists *hist in test1() local
230 struct hists *hists = evsel__hists(evsel); test2() local
286 struct hists *hists = evsel__hists(evsel); test3() local
360 struct hists *hists = evsel__hists(evsel); test4() local
462 struct hists *hists = evsel__hists(evsel); test5() 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()
126 static void del_hist_entries(struct hists *hists) in del_hist_entries() argument
133 if (hists__has(hists, need_collapse)) in del_hist_entries()
134 root_in = &hists->entries_collapsed; in del_hist_entries()
136 root_in = hists->entries_in; in del_hist_entries()
138 root_out = &hists->entries; in del_hist_entries()
177 static int do_test(struct hists *hist argument
253 struct hists *hists = evsel__hists(evsel); test1() local
304 struct hists *hists = evsel__hists(evsel); test2() local
452 struct hists *hists = evsel__hists(evsel); test3() local
509 struct hists *hists = evsel__hists(evsel); test4() local
[all...]
H A Dhists_common.h73 void print_hists_in(struct hists *hists);
74 void print_hists_out(struct hists *hists);
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dhists_filter.c71 struct hists *hists = evsel__hists(evsel); in add_hist_entries() local
74 hists->thread_filter = NULL; in add_hist_entries()
75 hists->dso_filter = NULL; in add_hist_entries()
76 hists->symbol_filter_str = NULL; in add_hist_entries()
154 struct hists *hists = evsel__hists(evsel); in test__hists_filter() local
156 hists__collapse_resort(hists, NULL); in test__hists_filter()
161 print_hists_out(hists); in test__hists_filter()
165 hists in test__hists_filter()
[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 *leade
208 __validate_link(struct hists *hists, int idx) __validate_link() argument
289 struct hists *hists, *first_hists; test__hists_link() local
[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_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...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dhist.c34 static bool hists__filter_entry_by_dso(struct hists *hists,
36 static bool hists__filter_entry_by_thread(struct hists *hists,
38 static bool hists__filter_entry_by_symbol(struct hists *hists,
40 static bool hists__filter_entry_by_socket(struct hists *hists,
43 u16 hists__col_len(struct hists *hists, enu argument
48 hists__set_col_len(struct hists *hists, enum hist_column col, u16 len) hists__set_col_len() argument
53 hists__new_col_len(struct hists *hists, enum hist_column col, u16 len) hists__new_col_len() argument
62 hists__reset_col_len(struct hists *hists) hists__reset_col_len() argument
70 hists__set_unres_dso_col_len(struct hists *hists, int dso) hists__set_unres_dso_col_len() argument
80 hists__calc_col_len(struct hists *hists, struct hist_entry *h) hists__calc_col_len() argument
253 hists__output_recalc_col_len(struct hists *hists, int max_rows) hists__output_recalc_col_len() argument
323 hists__decay_entry(struct hists *hists, struct hist_entry *he) hists__decay_entry() argument
359 hists__delete_entry(struct hists *hists, struct hist_entry *he) hists__delete_entry() argument
385 hists__decay_entries(struct hists *hists, bool zap_user, bool zap_kernel) hists__decay_entries() argument
401 hists__delete_entries(struct hists *hists) hists__delete_entries() argument
414 hists__get_entry(struct hists *hists, int idx) hists__get_entry() argument
591 hists__findnew_entry(struct hists *hists, struct hist_entry *entry, const struct addr_location *al, bool sample_self) hists__findnew_entry() argument
700 __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
761 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
774 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
788 hists__add_entry_block(struct hists *hists, struct addr_location *al, struct block_info *block_info) hists__add_entry_block() argument
838 struct hists *hists = evsel__hists(iter->evsel); iter_add_single_mem_entry() local
872 struct hists *hists = evsel__hists(evsel); iter_finish_mem_entry() local
945 struct hists *hists = evsel__hists(evsel); iter_add_next_branch_entry() local
1059 struct hists *hists = evsel__hists(evsel); iter_add_single_cumulative_entry() local
1278 struct hists *hists = left->hists; hist_entry__cmp() local
1298 struct hists *hists = left->hists; hist_entry__collapse() local
1474 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
1546 hists__hierarchy_insert_entry(struct hists *hists, struct rb_root_cached *root, struct hist_entry *he) hists__hierarchy_insert_entry() argument
1598 hists__collapse_insert_entry(struct hists *hists, struct rb_root_cached *root, struct hist_entry *he) hists__collapse_insert_entry() argument
1653 hists__get_rotate_entries_in(struct hists *hists) hists__get_rotate_entries_in() argument
1668 hists__apply_filters(struct hists *hists, struct hist_entry *he) hists__apply_filters() argument
1676 hists__collapse_resort(struct hists *hists, struct ui_progress *prog) hists__collapse_resort() argument
1719 struct hists *hists = a->hists; hist_entry__sort() local
1735 hists__reset_filter_stats(struct hists *hists) hists__reset_filter_stats() argument
1741 hists__reset_stats(struct hists *hists) hists__reset_stats() argument
1749 hists__inc_filter_stats(struct hists *hists, struct hist_entry *h) hists__inc_filter_stats() argument
1755 hists__inc_stats(struct hists *hists, struct hist_entry *h) hists__inc_stats() argument
1764 hierarchy_recalc_total_periods(struct hists *hists) hierarchy_recalc_total_periods() argument
1820 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
1920 output_resort(struct hists *hists, struct ui_progress *prog, bool use_callchain, hists__resort_cb_t cb, void *cb_arg) output_resort() argument
1995 hists__output_resort(struct hists *hists, struct ui_progress *prog) hists__output_resort() argument
2000 hists__output_resort_cb(struct hists *hists, struct ui_progress *prog, hists__resort_cb_t cb) hists__output_resort_cb() argument
2087 hists__remove_entry_filter(struct hists *hists, struct hist_entry *h, enum hist_filter filter) hists__remove_entry_filter() argument
2129 hists__filter_entry_by_dso(struct hists *hists, struct hist_entry *he) hists__filter_entry_by_dso() argument
2141 hists__filter_entry_by_thread(struct hists *hists, struct hist_entry *he) hists__filter_entry_by_thread() argument
2153 hists__filter_entry_by_symbol(struct hists *hists, struct hist_entry *he) hists__filter_entry_by_symbol() argument
2166 hists__filter_entry_by_socket(struct hists *hists, struct hist_entry *he) hists__filter_entry_by_socket() argument
2180 hists__filter_by_type(struct hists *hists, int type, filter_fn_t filter) hists__filter_by_type() argument
2240 hists__filter_hierarchy(struct hists *hists, int type, const void *arg) hists__filter_hierarchy() argument
2307 hists__filter_by_thread(struct hists *hists) hists__filter_by_thread() argument
2317 hists__filter_by_dso(struct hists *hists) hists__filter_by_dso() argument
2327 hists__filter_by_symbol(struct hists *hists) hists__filter_by_symbol() argument
2337 hists__filter_by_socket(struct hists *hists) hists__filter_by_socket() argument
2358 hists__inc_nr_events(struct hists *hists) hists__inc_nr_events() argument
2363 hists__inc_nr_samples(struct hists *hists, bool filtered) hists__inc_nr_samples() argument
2370 hists__inc_nr_lost_samples(struct hists *hists, u32 lost) hists__inc_nr_lost_samples() argument
2375 hists__add_dummy_entry(struct hists *hists, struct hist_entry *pair) hists__add_dummy_entry() argument
2424 add_dummy_hierarchy_entry(struct hists *hists, struct rb_root_cached *root, struct hist_entry *pair) add_dummy_hierarchy_entry() argument
2471 hists__find_entry(struct hists *hists, struct hist_entry *he) hists__find_entry() argument
2651 hists__unlink(struct hists *hists) hists__unlink() argument
2720 struct hists *hists = evsel__hists(pos); evlist__fprintf_nr_events() local
2738 hists__total_period(struct hists *hists) hists__total_period() argument
2744 __hists__scnprintf_title(struct hists *hists, char *bf, size_t size, bool show_freq) __hists__scnprintf_title() argument
2846 __hists__init(struct hists *hists, struct perf_hpp_list *hpp_list) __hists__init() argument
2874 hists__delete_all_entries(struct hists *hists) hists__delete_all_entries() argument
2884 struct hists *hists = evsel__hists(evsel); hists_evsel__exit() local
2902 struct hists *hists = evsel__hists(evsel); hists_evsel__init() local
[all...]
H A Dhist.h91 struct hists { struct
150 struct hist_entry *hists__add_entry(struct hists *hists,
159 struct hist_entry *hists__add_entry_ops(struct hists *hists,
169 struct hist_entry *hists__add_entry_block(struct hists *hists,
183 struct hists *hists);
193 void hists__output_resort(struct hists *hist
222 hists__has_filter(struct hists *hists) hists__has_filter() argument
240 struct hists hists; global() member
243 hists_to_evsel(struct hists *hists) hists_to_evsel() argument
255 hists__has_callchains(struct hists *hists) hists__has_callchains() argument
405 perf_hpp__should_skip(struct perf_hpp_fmt *format, struct hists *hists) perf_hpp__should_skip() argument
595 hists__scnprintf_title(struct hists *hists, char *bf, size_t size) hists__scnprintf_title() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dhist.c33 static bool hists__filter_entry_by_dso(struct hists *hists,
35 static bool hists__filter_entry_by_thread(struct hists *hists,
37 static bool hists__filter_entry_by_symbol(struct hists *hists,
39 static bool hists__filter_entry_by_socket(struct hists *hists,
42 u16 hists__col_len(struct hists *hists, enu argument
47 hists__set_col_len(struct hists *hists, enum hist_column col, u16 len) hists__set_col_len() argument
52 hists__new_col_len(struct hists *hists, enum hist_column col, u16 len) hists__new_col_len() argument
61 hists__reset_col_len(struct hists *hists) hists__reset_col_len() argument
69 hists__set_unres_dso_col_len(struct hists *hists, int dso) hists__set_unres_dso_col_len() argument
79 hists__calc_col_len(struct hists *hists, struct hist_entry *h) hists__calc_col_len() argument
239 hists__output_recalc_col_len(struct hists *hists, int max_rows) hists__output_recalc_col_len() argument
313 hists__decay_entry(struct hists *hists, struct hist_entry *he) hists__decay_entry() argument
349 hists__delete_entry(struct hists *hists, struct hist_entry *he) hists__delete_entry() argument
375 hists__decay_entries(struct hists *hists, bool zap_user, bool zap_kernel) hists__decay_entries() argument
391 hists__delete_entries(struct hists *hists) hists__delete_entries() argument
404 hists__get_entry(struct hists *hists, int idx) hists__get_entry() argument
579 hists__findnew_entry(struct hists *hists, struct hist_entry *entry, struct addr_location *al, bool sample_self) hists__findnew_entry() argument
688 __hists__add_entry(struct hists *hists, struct addr_location *al, struct symbol *sym_parent, struct branch_info *bi, struct mem_info *mi, struct block_info *block_info, struct perf_sample *sample, bool sample_self, struct hist_entry_ops *ops) __hists__add_entry() argument
743 hists__add_entry(struct hists *hists, struct addr_location *al, struct symbol *sym_parent, struct branch_info *bi, struct mem_info *mi, struct perf_sample *sample, bool sample_self) hists__add_entry() argument
755 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 perf_sample *sample, bool sample_self) hists__add_entry_ops() argument
768 hists__add_entry_block(struct hists *hists, struct addr_location *al, struct block_info *block_info) hists__add_entry_block() argument
818 struct hists *hists = evsel__hists(iter->evsel); iter_add_single_mem_entry() local
852 struct hists *hists = evsel__hists(evsel); iter_finish_mem_entry() local
923 struct hists *hists = evsel__hists(evsel); iter_add_next_branch_entry() local
1033 struct hists *hists = evsel__hists(evsel); iter_add_single_cumulative_entry() local
1249 struct hists *hists = left->hists; hist_entry__cmp() local
1269 struct hists *hists = left->hists; hist_entry__collapse() local
1441 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
1513 hists__hierarchy_insert_entry(struct hists *hists, struct rb_root_cached *root, struct hist_entry *he) hists__hierarchy_insert_entry() argument
1560 hists__collapse_insert_entry(struct hists *hists, struct rb_root_cached *root, struct hist_entry *he) hists__collapse_insert_entry() argument
1611 hists__get_rotate_entries_in(struct hists *hists) hists__get_rotate_entries_in() argument
1626 hists__apply_filters(struct hists *hists, struct hist_entry *he) hists__apply_filters() argument
1634 hists__collapse_resort(struct hists *hists, struct ui_progress *prog) hists__collapse_resort() argument
1677 struct hists *hists = a->hists; hist_entry__sort() local
1693 hists__reset_filter_stats(struct hists *hists) hists__reset_filter_stats() argument
1699 hists__reset_stats(struct hists *hists) hists__reset_stats() argument
1707 hists__inc_filter_stats(struct hists *hists, struct hist_entry *h) hists__inc_filter_stats() argument
1713 hists__inc_stats(struct hists *hists, struct hist_entry *h) hists__inc_stats() argument
1722 hierarchy_recalc_total_periods(struct hists *hists) hierarchy_recalc_total_periods() argument
1778 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
1878 output_resort(struct hists *hists, struct ui_progress *prog, bool use_callchain, hists__resort_cb_t cb, void *cb_arg) output_resort() argument
1953 hists__output_resort(struct hists *hists, struct ui_progress *prog) hists__output_resort() argument
1958 hists__output_resort_cb(struct hists *hists, struct ui_progress *prog, hists__resort_cb_t cb) hists__output_resort_cb() argument
2045 hists__remove_entry_filter(struct hists *hists, struct hist_entry *h, enum hist_filter filter) hists__remove_entry_filter() argument
2087 hists__filter_entry_by_dso(struct hists *hists, struct hist_entry *he) hists__filter_entry_by_dso() argument
2099 hists__filter_entry_by_thread(struct hists *hists, struct hist_entry *he) hists__filter_entry_by_thread() argument
2111 hists__filter_entry_by_symbol(struct hists *hists, struct hist_entry *he) hists__filter_entry_by_symbol() argument
2124 hists__filter_entry_by_socket(struct hists *hists, struct hist_entry *he) hists__filter_entry_by_socket() argument
2138 hists__filter_by_type(struct hists *hists, int type, filter_fn_t filter) hists__filter_by_type() argument
2198 hists__filter_hierarchy(struct hists *hists, int type, const void *arg) hists__filter_hierarchy() argument
2265 hists__filter_by_thread(struct hists *hists) hists__filter_by_thread() argument
2275 hists__filter_by_dso(struct hists *hists) hists__filter_by_dso() argument
2285 hists__filter_by_symbol(struct hists *hists) hists__filter_by_symbol() argument
2295 hists__filter_by_socket(struct hists *hists) hists__filter_by_socket() argument
2311 hists__inc_nr_events(struct hists *hists, u32 type) hists__inc_nr_events() argument
2316 hists__inc_nr_samples(struct hists *hists, bool filtered) hists__inc_nr_samples() argument
2323 hists__add_dummy_entry(struct hists *hists, struct hist_entry *pair) hists__add_dummy_entry() argument
2372 add_dummy_hierarchy_entry(struct hists *hists, struct rb_root_cached *root, struct hist_entry *pair) add_dummy_hierarchy_entry() argument
2419 hists__find_entry(struct hists *hists, struct hist_entry *he) hists__find_entry() argument
2599 hists__unlink(struct hists *hists) hists__unlink() argument
2675 hists__total_period(struct hists *hists) hists__total_period() argument
2681 __hists__scnprintf_title(struct hists *hists, char *bf, size_t size, bool show_freq) __hists__scnprintf_title() argument
2783 __hists__init(struct hists *hists, struct perf_hpp_list *hpp_list) __hists__init() argument
2811 hists__delete_all_entries(struct hists *hists) hists__delete_all_entries() argument
2821 struct hists *hists = evsel__hists(evsel); hists_evsel__exit() local
2839 struct hists *hists = evsel__hists(evsel); hists_evsel__init() local
[all...]
H A Dhist.h79 struct hists { struct
138 struct hist_entry *hists__add_entry(struct hists *hists,
146 struct hist_entry *hists__add_entry_ops(struct hists *hists,
155 struct hist_entry *hists__add_entry_block(struct hists *hists,
169 struct hists *hists);
179 void hists__output_resort(struct hists *hist
206 hists__has_filter(struct hists *hists) hists__has_filter() argument
224 struct hists hists; global() member
227 hists_to_evsel(struct hists *hists) hists_to_evsel() argument
239 hists__has_callchains(struct hists *hists) hists__has_callchains() argument
388 perf_hpp__should_skip(struct perf_hpp_fmt *format, struct hists *hists) perf_hpp__should_skip() argument
581 hists__scnprintf_title(struct hists *hists, char *bf, size_t size) hists__scnprintf_title() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/stdio/
H A Dhist.c427 if (perf_hpp__should_skip(fmt, he->hists)) in __hist_entry__snprintf()
454 return __hist_entry__snprintf(he, hpp, he->hists->hpp_list); in hist_entry__snprintf()
459 struct hists *hists, in hist_entry__hierarchy_fprintf()
477 fmt_node = list_first_entry(&hists->hpp_formats, in hist_entry__hierarchy_fprintf()
501 (hists->nr_hpp_node - 2) * HIERARCHY_INDENT, ""); in hist_entry__hierarchy_fprintf()
528 u64 total = hists__total_period(hists); in hist_entry__hierarchy_fprintf()
591 struct hists *hists = he->hists; in hist_entry__fprintf() local
457 hist_entry__hierarchy_fprintf(struct hist_entry *he, struct perf_hpp *hpp, struct hists *hists, FILE *fp) hist_entry__hierarchy_fprintf() argument
632 hists__fprintf_hierarchy_headers(struct hists *hists, struct perf_hpp *hpp, FILE *fp) hists__fprintf_hierarchy_headers() argument
728 fprintf_line(struct hists *hists, struct perf_hpp *hpp, int line, FILE *fp) fprintf_line() argument
753 hists__fprintf_standard_headers(struct hists *hists, struct perf_hpp *hpp, FILE *fp) hists__fprintf_standard_headers() argument
800 hists__fprintf_headers(struct hists *hists, FILE *fp) hists__fprintf_headers() argument
817 hists__fprintf(struct hists *hists, bool show_header, int max_rows, int max_cols, float min_pcnt, FILE *fp, bool ignore_callchains) hists__fprintf() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/stdio/
H A Dhist.c427 if (perf_hpp__should_skip(fmt, he->hists)) in __hist_entry__snprintf()
454 return __hist_entry__snprintf(he, hpp, he->hists->hpp_list); in hist_entry__snprintf()
459 struct hists *hists, in hist_entry__hierarchy_fprintf()
477 fmt_node = list_first_entry(&hists->hpp_formats, in hist_entry__hierarchy_fprintf()
501 (hists->nr_hpp_node - 2) * HIERARCHY_INDENT, ""); in hist_entry__hierarchy_fprintf()
528 u64 total = hists__total_period(hists); in hist_entry__hierarchy_fprintf()
591 struct hists *hists = he->hists; in hist_entry__fprintf() local
457 hist_entry__hierarchy_fprintf(struct hist_entry *he, struct perf_hpp *hpp, struct hists *hists, FILE *fp) hist_entry__hierarchy_fprintf() argument
632 hists__fprintf_hierarchy_headers(struct hists *hists, struct perf_hpp *hpp, FILE *fp) hists__fprintf_hierarchy_headers() argument
728 fprintf_line(struct hists *hists, struct perf_hpp *hpp, int line, FILE *fp) fprintf_line() argument
753 hists__fprintf_standard_headers(struct hists *hists, struct perf_hpp *hpp, FILE *fp) hists__fprintf_standard_headers() argument
800 hists__fprintf_headers(struct hists *hists, FILE *fp) hists__fprintf_headers() argument
817 hists__fprintf(struct hists *hists, bool show_header, int max_rows, int max_cols, float min_pcnt, FILE *fp, bool ignore_callchains) hists__fprintf() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/
H A Dhist.c30 struct hists *hists = he->hists; in __hpp__fmt() local
31 struct evsel *evsel = hists_to_evsel(hists); in __hpp__fmt()
37 u64 total = hists__total_period(hists); in __hpp__fmt()
55 u64 total = hists__total_period(pair->hists); in __hpp__fmt()
60 evsel = hists_to_evsel(pair->hists); in __hpp__fmt()
166 struct evsel *evsel = hists_to_evsel(pair->hists); in hist_entry__new_pair()
171 struct evsel *evsel = hists_to_evsel(pair->hists); in hist_entry__new_pair()
188 struct evsel *evsel = hists_to_evsel(a->hists); in __hpp__group_sort_idx()
287 hpp__width_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp __maybe_unused, struct hists *hists) hpp__width_fn() argument
303 hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hists *hists, int line __maybe_unused, int *span __maybe_unused) hpp__header_fn() argument
710 hists__sort_list_width(struct hists *hists) hists__sort_list_width() argument
735 hists__overhead_width(struct hists *hists) hists__overhead_width() argument
757 perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists) perf_hpp__reset_width() argument
790 hists__reset_column_width(struct hists *hists) hists__reset_column_width() argument
823 add_hierarchy_fmt(struct hists *hists, struct perf_hpp_fmt *fmt) add_hierarchy_fmt() argument
868 struct hists *hists; perf_hpp__setup_hists_formats() local
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/
H A Dhist.c31 struct hists *hists = he->hists; in __hpp__fmt() local
32 struct evsel *evsel = hists_to_evsel(hists); in __hpp__fmt()
38 u64 total = hists__total_period(hists); in __hpp__fmt()
56 u64 total = hists__total_period(pair->hists); in __hpp__fmt()
61 evsel = hists_to_evsel(pair->hists); in __hpp__fmt()
167 struct evsel *evsel = hists_to_evsel(pair->hists); in hist_entry__new_pair()
172 struct evsel *evsel = hists_to_evsel(pair->hists); in hist_entry__new_pair()
189 struct evsel *evsel = hists_to_evsel(a->hists); in __hpp__group_sort_idx()
290 hpp__width_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp __maybe_unused, struct hists *hists) hpp__width_fn() argument
306 hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hists *hists, int line __maybe_unused, int *span __maybe_unused) hpp__header_fn() argument
713 hists__sort_list_width(struct hists *hists) hists__sort_list_width() argument
738 hists__overhead_width(struct hists *hists) hists__overhead_width() argument
760 perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists) perf_hpp__reset_width() argument
793 hists__reset_column_width(struct hists *hists) hists__reset_column_width() argument
826 add_hierarchy_fmt(struct hists *hists, struct perf_hpp_fmt *fmt) add_hierarchy_fmt() argument
871 struct hists *hists; perf_hpp__setup_hists_formats() local
[all...]
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-c2c.c38 #include "ui/browsers/hists.h"
49 struct hists hists; member
63 struct c2c_hists *hists; member
88 struct c2c_hists hists; member
178 if (c2c_he->hists) { in c2c_he_free()
179 hists__delete_entries(&c2c_he->hists->hists); in c2c_he_free()
180 zfree(&c2c_he->hists); in c2c_he_free()
195 static int c2c_hists__init(struct c2c_hists *hists,
205 struct c2c_hists *hists; he__get_c2c_hists() local
450 symbol_width(struct hists *hists, struct sort_entry *se) symbol_width() argument
460 c2c_width(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp __maybe_unused, struct hists *hists) c2c_width() argument
477 c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hists *hists, int line, int *span) c2c_header() argument
811 struct c2c_hists *hists; percent_costly_snoop() local
902 struct c2c_hists *hists; total_stats() local
2069 c2c_hists__init(struct c2c_hists *hists, const char *sort, int nr_header_lines) c2c_hists__init() argument
2356 hists__iterate_cb(struct hists *hists, hists__resort_cb_t cb) hists__iterate_cb() argument
2606 c2c_cacheline_browser__new(struct hists *hists, struct hist_entry *he) c2c_cacheline_browser__new() argument
2693 perf_c2c_browser__new(struct hists *hists) perf_c2c_browser__new() argument
2705 perf_c2c__hists_browse(struct hists *hists) perf_c2c__hists_browse() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-c2c.c38 #include "ui/browsers/hists.h"
47 struct hists hists; member
59 struct c2c_hists *hists; member
84 struct c2c_hists hists; member
164 if (c2c_he->hists) { in c2c_he_free()
165 hists__delete_entries(&c2c_he->hists->hists); in c2c_he_free()
166 free(c2c_he->hists); in c2c_he_free()
181 static int c2c_hists__init(struct c2c_hists *hists,
191 struct c2c_hists *hists; he__get_c2c_hists() local
422 symbol_width(struct hists *hists, struct sort_entry *se) symbol_width() argument
432 c2c_width(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp __maybe_unused, struct hists *hists) c2c_width() argument
449 c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hists *hists, int line, int *span) c2c_header() argument
783 struct c2c_hists *hists; percent_hitm() local
869 struct c2c_hists *hists; total_stats() local
1821 c2c_hists__init(struct c2c_hists *hists, const char *sort, int nr_header_lines) c2c_hists__init() argument
2060 hists__iterate_cb(struct hists *hists, hists__resort_cb_t cb) hists__iterate_cb() argument
2294 c2c_cacheline_browser__new(struct hists *hists, struct hist_entry *he) c2c_cacheline_browser__new() argument
2381 perf_c2c_browser__new(struct hists *hists) perf_c2c_browser__new() argument
2393 perf_c2c__hists_browse(struct hists *hists) perf_c2c__hists_browse() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/browsers/
H A Dhists.h12 struct hists *hists; member
34 struct hist_browser *hist_browser__new(struct hists *hists);
39 struct hists *hists);
H A Dhists.c35 #include "../browsers/hists.h"
58 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
64 struct hists *hists = browser->hists; in hist_browser__get_folding() local
67 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding()
82 struct hists *hists = hb->hists; in hist_browser__set_title_space() local
83 struct perf_hpp_list *hpp_list = hists in hist_browser__set_title_space()
106 struct hists *hists = hb->hists; hist_browser__update_rows() local
1645 struct hists *hists = browser->hists; hists_browser__scnprintf_headers() local
1682 struct hists *hists = browser->hists; hists_browser__scnprintf_hierarchy_headers() local
1778 struct hists *hists = browser->hists; hists_browser__headers() local
2207 hist_browser__init(struct hist_browser *browser, struct hists *hists) hist_browser__init() argument
2239 hist_browser__new(struct hists *hists) hist_browser__new() argument
2948 struct hists *hists = evsel__hists(evsel); perf_evsel__hists_browse() local
3411 struct hists *hists = evsel__hists(evsel); perf_evsel_menu__write() local
3655 struct hists *hists = evsel__hists(browser->block_evsel); block_hists_browser__title() local
3671 struct hists *hists = &bh->block_hists; block_hists_tui_browse() local
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/browsers/
H A Dhists.h12 struct hists *hists; member
34 struct hist_browser *hist_browser__new(struct hists *hists);
39 struct hists *hists);
H A Dhists.c35 #include "../browsers/hists.h"
58 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
64 struct hists *hists = browser->hists; in hist_browser__get_folding() local
67 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding()
82 struct hists *hists = hb->hists; in hist_browser__set_title_space() local
83 struct perf_hpp_list *hpp_list = hists in hist_browser__set_title_space()
106 struct hists *hists = hb->hists; hist_browser__update_rows() local
1646 struct hists *hists = browser->hists; hists_browser__scnprintf_headers() local
1683 struct hists *hists = browser->hists; hists_browser__scnprintf_hierarchy_headers() local
1779 struct hists *hists = browser->hists; hists_browser__headers() local
2208 hist_browser__init(struct hist_browser *browser, struct hists *hists) hist_browser__init() argument
2240 hist_browser__new(struct hists *hists) hist_browser__new() argument
2949 struct hists *hists = evsel__hists(evsel); evsel__hists_browse() local
3413 struct hists *hists = evsel__hists(evsel); perf_evsel_menu__write() local
3644 struct hists *hists = evsel__hists(browser->block_evsel); block_hists_browser__title() local
3660 struct hists *hists = &bh->block_hists; block_hists_tui_browse() local
[all...]
/kernel/linux/linux-5.10/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, sy in perf_gtk__show_hists()
405 perf_gtk__add_hierarchy_entries(struct hists *hists, struct rb_root_cached *root, GtkTreeStore *store, GtkTreeIter *parent, struct perf_hpp *hpp, float min_pcnt) perf_gtk__add_hierarchy_entries() argument
497 perf_gtk__show_hierarchy(GtkWidget *window, struct hists *hists, float min_pcnt) perf_gtk__show_hierarchy() argument
637 struct hists *hists = evsel__hists(pos); perf_evlist__gtk_browse_hists() local
[all...]
/kernel/linux/linux-6.6/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, sy in perf_gtk__show_hists()
405 perf_gtk__add_hierarchy_entries(struct hists *hists, struct rb_root_cached *root, GtkTreeStore *store, GtkTreeIter *parent, struct perf_hpp *hpp, float min_pcnt) perf_gtk__add_hierarchy_entries() argument
497 perf_gtk__show_hierarchy(GtkWidget *window, struct hists *hists, float min_pcnt) perf_gtk__show_hierarchy() argument
635 struct hists *hists = evsel__hists(pos); evlist__gtk_browse_hists() local
[all...]

Completed in 28 milliseconds

123