Lines Matching refs:hists
19 static bool hists__filter_entry_by_dso(struct hists *hists,
21 static bool hists__filter_entry_by_thread(struct hists *hists,
23 static bool hists__filter_entry_by_symbol(struct hists *hists,
25 static bool hists__filter_entry_by_socket(struct hists *hists,
28 u16 hists__col_len(struct hists *hists, enum hist_column col) in hists__col_len() argument
30 return hists->col_len[col]; in hists__col_len()
33 void hists__set_col_len(struct hists *hists, enum hist_column col, u16 len) in hists__set_col_len() argument
35 hists->col_len[col] = len; in hists__set_col_len()
38 bool hists__new_col_len(struct hists *hists, enum hist_column col, u16 len) in hists__new_col_len() argument
40 if (len > hists__col_len(hists, col)) { in hists__new_col_len()
41 hists__set_col_len(hists, col, len); in hists__new_col_len()
47 void hists__reset_col_len(struct hists *hists) in hists__reset_col_len() argument
52 hists__set_col_len(hists, col, 0); in hists__reset_col_len()
55 static void hists__set_unres_dso_col_len(struct hists *hists, int dso) in hists__set_unres_dso_col_len() argument
59 if (hists__col_len(hists, dso) < unresolved_col_width && in hists__set_unres_dso_col_len()
62 hists__set_col_len(hists, dso, unresolved_col_width); in hists__set_unres_dso_col_len()
65 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len() argument
80 hists__new_col_len(hists, HISTC_SYMBOL, symlen); in hists__calc_col_len()
83 hists__new_col_len(hists, HISTC_SYMBOL, symlen); in hists__calc_col_len()
84 hists__set_unres_dso_col_len(hists, HISTC_DSO); in hists__calc_col_len()
88 if (hists__new_col_len(hists, HISTC_COMM, len)) in hists__calc_col_len()
89 hists__set_col_len(hists, HISTC_THREAD, len + 8); in hists__calc_col_len()
93 hists__new_col_len(hists, HISTC_DSO, len); in hists__calc_col_len()
97 hists__new_col_len(hists, HISTC_PARENT, h->parent->namelen); in hists__calc_col_len()
104 hists__new_col_len(hists, HISTC_SYMBOL_FROM, symlen); in hists__calc_col_len()
107 hists__new_col_len(hists, HISTC_DSO_FROM, symlen); in hists__calc_col_len()
110 hists__new_col_len(hists, HISTC_SYMBOL_FROM, symlen); in hists__calc_col_len()
111 hists__set_unres_dso_col_len(hists, HISTC_DSO_FROM); in hists__calc_col_len()
118 hists__new_col_len(hists, HISTC_SYMBOL_TO, symlen); in hists__calc_col_len()
121 hists__new_col_len(hists, HISTC_DSO_TO, symlen); in hists__calc_col_len()
124 hists__new_col_len(hists, HISTC_SYMBOL_TO, symlen); in hists__calc_col_len()
125 hists__set_unres_dso_col_len(hists, HISTC_DSO_TO); in hists__calc_col_len()
129 hists__new_col_len(hists, HISTC_SRCLINE_FROM, in hists__calc_col_len()
132 hists__new_col_len(hists, HISTC_SRCLINE_TO, in hists__calc_col_len()
140 hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL, in hists__calc_col_len()
142 hists__new_col_len(hists, HISTC_MEM_DCACHELINE, in hists__calc_col_len()
146 hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL, in hists__calc_col_len()
148 hists__new_col_len(hists, HISTC_MEM_DCACHELINE, in hists__calc_col_len()
155 hists__new_col_len(hists, HISTC_MEM_IADDR_SYMBOL, in hists__calc_col_len()
159 hists__new_col_len(hists, HISTC_MEM_IADDR_SYMBOL, in hists__calc_col_len()
165 hists__new_col_len(hists, HISTC_MEM_DADDR_DSO, in hists__calc_col_len()
169 hists__set_unres_dso_col_len(hists, HISTC_MEM_DADDR_DSO); in hists__calc_col_len()
172 hists__new_col_len(hists, HISTC_MEM_PHYS_DADDR, in hists__calc_col_len()
177 hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL, symlen); in hists__calc_col_len()
178 hists__new_col_len(hists, HISTC_MEM_IADDR_SYMBOL, symlen); in hists__calc_col_len()
179 hists__set_unres_dso_col_len(hists, HISTC_MEM_DADDR_DSO); in hists__calc_col_len()
182 hists__new_col_len(hists, HISTC_CGROUP_ID, 20); in hists__calc_col_len()
183 hists__new_col_len(hists, HISTC_CPU, 3); in hists__calc_col_len()
184 hists__new_col_len(hists, HISTC_SOCKET, 6); in hists__calc_col_len()
185 hists__new_col_len(hists, HISTC_MEM_LOCKED, 6); in hists__calc_col_len()
186 hists__new_col_len(hists, HISTC_MEM_TLB, 22); in hists__calc_col_len()
187 hists__new_col_len(hists, HISTC_MEM_SNOOP, 12); in hists__calc_col_len()
188 hists__new_col_len(hists, HISTC_MEM_LVL, 21 + 3); in hists__calc_col_len()
189 hists__new_col_len(hists, HISTC_LOCAL_WEIGHT, 12); in hists__calc_col_len()
190 hists__new_col_len(hists, HISTC_GLOBAL_WEIGHT, 12); in hists__calc_col_len()
194 hists__new_col_len(hists, HISTC_SRCLINE, len); in hists__calc_col_len()
198 hists__new_col_len(hists, HISTC_SRCFILE, strlen(h->srcfile)); in hists__calc_col_len()
201 hists__new_col_len(hists, HISTC_TRANSACTION, in hists__calc_col_len()
205 hists__new_col_len(hists, HISTC_TRACE, strlen(h->trace_output)); in hists__calc_col_len()
208 void hists__output_recalc_col_len(struct hists *hists, int max_rows) in hists__output_recalc_col_len() argument
210 struct rb_node *next = rb_first(&hists->entries); in hists__output_recalc_col_len()
214 hists__reset_col_len(hists); in hists__output_recalc_col_len()
219 hists__calc_col_len(hists, n); in hists__output_recalc_col_len()
272 static void hists__delete_entry(struct hists *hists, struct hist_entry *he);
274 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry() argument
290 hists->stats.total_period -= diff; in hists__decay_entry()
292 hists->stats.total_non_filtered_period -= diff; in hists__decay_entry()
302 if (hists__decay_entry(hists, child)) in hists__decay_entry()
303 hists__delete_entry(hists, child); in hists__decay_entry()
310 static void hists__delete_entry(struct hists *hists, struct hist_entry *he) in hists__delete_entry() argument
319 if (hists__has(hists, need_collapse)) in hists__delete_entry()
320 root_in = &hists->entries_collapsed; in hists__delete_entry()
322 root_in = hists->entries_in; in hists__delete_entry()
323 root_out = &hists->entries; in hists__delete_entry()
329 --hists->nr_entries; in hists__delete_entry()
331 --hists->nr_non_filtered_entries; in hists__delete_entry()
336 void hists__decay_entries(struct hists *hists, bool zap_user, bool zap_kernel) in hists__decay_entries() argument
338 struct rb_node *next = rb_first(&hists->entries); in hists__decay_entries()
346 hists__decay_entry(hists, n))) { in hists__decay_entries()
347 hists__delete_entry(hists, n); in hists__decay_entries()
352 void hists__delete_entries(struct hists *hists) in hists__delete_entries() argument
354 struct rb_node *next = rb_first(&hists->entries); in hists__delete_entries()
361 hists__delete_entry(hists, n); in hists__delete_entries()
496 he->hists->callchain_period += period; in hist_entry__add_callchain_period()
498 he->hists->callchain_non_filtered_period += period; in hist_entry__add_callchain_period()
501 static struct hist_entry *hists__findnew_entry(struct hists *hists, in hists__findnew_entry() argument
513 p = &hists->entries_in->rb_node; in hists__findnew_entry()
566 hists->nr_entries++; in hists__findnew_entry()
569 rb_insert_color(&he->rb_node_in, hists->entries_in); in hists__findnew_entry()
579 __hists__add_entry(struct hists *hists, in __hists__add_entry() argument
612 .hists = hists, in __hists__add_entry()
621 return hists__findnew_entry(hists, &entry, al, sample_self); in __hists__add_entry()
624 struct hist_entry *hists__add_entry(struct hists *hists, in hists__add_entry() argument
632 return __hists__add_entry(hists, al, sym_parent, bi, mi, in hists__add_entry()
636 struct hist_entry *hists__add_entry_ops(struct hists *hists, in hists__add_entry_ops() argument
645 return __hists__add_entry(hists, al, sym_parent, bi, mi, in hists__add_entry_ops()
682 struct hists *hists = evsel__hists(iter->evsel); in iter_add_single_mem_entry() local
702 he = hists__add_entry(hists, al, iter->parent, NULL, mi, in iter_add_single_mem_entry()
716 struct hists *hists = evsel__hists(evsel); in iter_finish_mem_entry() local
723 hists__inc_nr_samples(hists, he->filtered); in iter_finish_mem_entry()
786 struct hists *hists = evsel__hists(evsel); in iter_add_next_branch_entry() local
804 he = hists__add_entry(hists, al, iter->parent, &bi[i], NULL, in iter_add_next_branch_entry()
809 hists__inc_nr_samples(hists, he->filtered); in iter_add_next_branch_entry()
896 struct hists *hists = evsel__hists(evsel); in iter_add_single_cumulative_entry() local
902 he = hists__add_entry(hists, al, iter->parent, NULL, NULL, in iter_add_single_cumulative_entry()
918 hists__inc_nr_samples(hists, he->filtered); in iter_add_single_cumulative_entry()
945 .hists = evsel__hists(evsel), in iter_add_next_cumulative_entry()
1087 struct hists *hists = left->hists; in hist_entry__cmp() local
1091 hists__for_each_sort_list(hists, fmt) { in hist_entry__cmp()
1093 !perf_hpp__defined_dynamic_entry(fmt, hists)) in hist_entry__cmp()
1107 struct hists *hists = left->hists; in hist_entry__collapse() local
1111 hists__for_each_sort_list(hists, fmt) { in hist_entry__collapse()
1113 !perf_hpp__defined_dynamic_entry(fmt, hists)) in hist_entry__collapse()
1170 if (!list_is_last(&fmt->list, &he->hists->hpp_list->fields)) { in hist_entry__snprintf_alignment()
1171 const int width = fmt->width(fmt, hpp, he->hists); in hist_entry__snprintf_alignment()
1185 static void hists__apply_filters(struct hists *hists, struct hist_entry *he);
1186 static void hists__remove_entry_filter(struct hists *hists, struct hist_entry *he,
1277 hists__apply_filters(he->hists, he); in hist_entry__apply_hierarchy_filters()
1280 static struct hist_entry *hierarchy_insert_entry(struct hists *hists, in hierarchy_insert_entry() argument
1318 hists->nr_entries++; in hierarchy_insert_entry()
1349 static int hists__hierarchy_insert_entry(struct hists *hists, in hists__hierarchy_insert_entry() argument
1359 list_for_each_entry(node, &hists->hpp_formats, list) { in hists__hierarchy_insert_entry()
1365 new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp); in hists__hierarchy_insert_entry()
1395 static int hists__collapse_insert_entry(struct hists *hists, in hists__collapse_insert_entry() argument
1405 return hists__hierarchy_insert_entry(hists, root, he); in hists__collapse_insert_entry()
1436 hists->nr_entries++; in hists__collapse_insert_entry()
1443 struct rb_root *hists__get_rotate_entries_in(struct hists *hists) in hists__get_rotate_entries_in() argument
1447 pthread_mutex_lock(&hists->lock); in hists__get_rotate_entries_in()
1449 root = hists->entries_in; in hists__get_rotate_entries_in()
1450 if (++hists->entries_in > &hists->entries_in_array[1]) in hists__get_rotate_entries_in()
1451 hists->entries_in = &hists->entries_in_array[0]; in hists__get_rotate_entries_in()
1453 pthread_mutex_unlock(&hists->lock); in hists__get_rotate_entries_in()
1458 static void hists__apply_filters(struct hists *hists, struct hist_entry *he) in hists__apply_filters() argument
1460 hists__filter_entry_by_dso(hists, he); in hists__apply_filters()
1461 hists__filter_entry_by_thread(hists, he); in hists__apply_filters()
1462 hists__filter_entry_by_symbol(hists, he); in hists__apply_filters()
1463 hists__filter_entry_by_socket(hists, he); in hists__apply_filters()
1466 int hists__collapse_resort(struct hists *hists, struct ui_progress *prog) in hists__collapse_resort() argument
1473 if (!hists__has(hists, need_collapse)) in hists__collapse_resort()
1476 hists->nr_entries = 0; in hists__collapse_resort()
1478 root = hists__get_rotate_entries_in(hists); in hists__collapse_resort()
1489 ret = hists__collapse_insert_entry(hists, &hists->entries_collapsed, n); in hists__collapse_resort()
1499 hists__apply_filters(hists, n); in hists__collapse_resort()
1509 struct hists *hists = a->hists; in hist_entry__sort() local
1513 hists__for_each_sort_list(hists, fmt) { in hist_entry__sort()
1514 if (perf_hpp__should_skip(fmt, a->hists)) in hist_entry__sort()
1525 static void hists__reset_filter_stats(struct hists *hists) in hists__reset_filter_stats() argument
1527 hists->nr_non_filtered_entries = 0; in hists__reset_filter_stats()
1528 hists->stats.total_non_filtered_period = 0; in hists__reset_filter_stats()
1531 void hists__reset_stats(struct hists *hists) in hists__reset_stats() argument
1533 hists->nr_entries = 0; in hists__reset_stats()
1534 hists->stats.total_period = 0; in hists__reset_stats()
1536 hists__reset_filter_stats(hists); in hists__reset_stats()
1539 static void hists__inc_filter_stats(struct hists *hists, struct hist_entry *h) in hists__inc_filter_stats() argument
1541 hists->nr_non_filtered_entries++; in hists__inc_filter_stats()
1542 hists->stats.total_non_filtered_period += h->stat.period; in hists__inc_filter_stats()
1545 void hists__inc_stats(struct hists *hists, struct hist_entry *h) in hists__inc_stats() argument
1548 hists__inc_filter_stats(hists, h); in hists__inc_stats()
1550 hists->nr_entries++; in hists__inc_stats()
1551 hists->stats.total_period += h->stat.period; in hists__inc_stats()
1554 static void hierarchy_recalc_total_periods(struct hists *hists) in hierarchy_recalc_total_periods() argument
1559 node = rb_first(&hists->entries); in hierarchy_recalc_total_periods()
1561 hists->stats.total_period = 0; in hierarchy_recalc_total_periods()
1562 hists->stats.total_non_filtered_period = 0; in hierarchy_recalc_total_periods()
1573 hists->stats.total_period += he->stat.period; in hierarchy_recalc_total_periods()
1575 hists->stats.total_non_filtered_period += he->stat.period; in hierarchy_recalc_total_periods()
1607 static void hists__hierarchy_output_resort(struct hists *hists, in hists__hierarchy_output_resort() argument
1629 hists->nr_entries++; in hists__hierarchy_output_resort()
1631 hists->nr_non_filtered_entries++; in hists__hierarchy_output_resort()
1632 hists__calc_col_len(hists, he); in hists__hierarchy_output_resort()
1636 hists__hierarchy_output_resort(hists, prog, in hists__hierarchy_output_resort()
1699 perf_hpp__defined_dynamic_entry(fmt, he->hists)) in __hists__insert_output_entry()
1704 static void output_resort(struct hists *hists, struct ui_progress *prog, in output_resort() argument
1713 callchain_total = hists->callchain_period; in output_resort()
1715 callchain_total = hists->callchain_non_filtered_period; in output_resort()
1719 hists__reset_stats(hists); in output_resort()
1720 hists__reset_col_len(hists); in output_resort()
1723 hists__hierarchy_output_resort(hists, prog, in output_resort()
1724 &hists->entries_collapsed, in output_resort()
1725 &hists->entries, in output_resort()
1728 hierarchy_recalc_total_periods(hists); in output_resort()
1732 if (hists__has(hists, need_collapse)) in output_resort()
1733 root = &hists->entries_collapsed; in output_resort()
1735 root = hists->entries_in; in output_resort()
1738 hists->entries = RB_ROOT; in output_resort()
1747 __hists__insert_output_entry(&hists->entries, n, min_callchain_hits, use_callchain); in output_resort()
1748 hists__inc_stats(hists, n); in output_resort()
1751 hists__calc_col_len(hists, n); in output_resort()
1772 void hists__output_resort(struct hists *hists, struct ui_progress *prog) in hists__output_resort() argument
1774 output_resort(hists, prog, symbol_conf.use_callchain, NULL); in hists__output_resort()
1777 void hists__output_resort_cb(struct hists *hists, struct ui_progress *prog, in hists__output_resort_cb() argument
1780 output_resort(hists, prog, symbol_conf.use_callchain, cb); in hists__output_resort_cb()
1864 static void hists__remove_entry_filter(struct hists *hists, struct hist_entry *h, in hists__remove_entry_filter() argument
1899 hists->stats.nr_non_filtered_samples += h->stat.nr_events; in hists__remove_entry_filter()
1901 hists__inc_filter_stats(hists, h); in hists__remove_entry_filter()
1902 hists__calc_col_len(hists, h); in hists__remove_entry_filter()
1906 static bool hists__filter_entry_by_dso(struct hists *hists, in hists__filter_entry_by_dso() argument
1909 if (hists->dso_filter != NULL && in hists__filter_entry_by_dso()
1910 (he->ms.map == NULL || he->ms.map->dso != hists->dso_filter)) { in hists__filter_entry_by_dso()
1918 static bool hists__filter_entry_by_thread(struct hists *hists, in hists__filter_entry_by_thread() argument
1921 if (hists->thread_filter != NULL && in hists__filter_entry_by_thread()
1922 he->thread != hists->thread_filter) { in hists__filter_entry_by_thread()
1930 static bool hists__filter_entry_by_symbol(struct hists *hists, in hists__filter_entry_by_symbol() argument
1933 if (hists->symbol_filter_str != NULL && in hists__filter_entry_by_symbol()
1935 hists->symbol_filter_str) == NULL)) { in hists__filter_entry_by_symbol()
1943 static bool hists__filter_entry_by_socket(struct hists *hists, in hists__filter_entry_by_socket() argument
1946 if ((hists->socket_filter > -1) && in hists__filter_entry_by_socket()
1947 (he->socket != hists->socket_filter)) { in hists__filter_entry_by_socket()
1955 typedef bool (*filter_fn_t)(struct hists *hists, struct hist_entry *he);
1957 static void hists__filter_by_type(struct hists *hists, int type, filter_fn_t filter) in hists__filter_by_type() argument
1961 hists->stats.nr_non_filtered_samples = 0; in hists__filter_by_type()
1963 hists__reset_filter_stats(hists); in hists__filter_by_type()
1964 hists__reset_col_len(hists); in hists__filter_by_type()
1966 for (nd = rb_first(&hists->entries); nd; nd = rb_next(nd)) { in hists__filter_by_type()
1969 if (filter(hists, h)) in hists__filter_by_type()
1972 hists__remove_entry_filter(hists, h, type); in hists__filter_by_type()
2013 static void hists__filter_hierarchy(struct hists *hists, int type, const void *arg) in hists__filter_hierarchy() argument
2018 hists->stats.nr_non_filtered_samples = 0; in hists__filter_hierarchy()
2020 hists__reset_filter_stats(hists); in hists__filter_hierarchy()
2021 hists__reset_col_len(hists); in hists__filter_hierarchy()
2023 nd = rb_first(&hists->entries); in hists__filter_hierarchy()
2055 hists__remove_entry_filter(hists, h, type); in hists__filter_hierarchy()
2061 hierarchy_recalc_total_periods(hists); in hists__filter_hierarchy()
2067 nd = rb_first(&hists->entries); in hists__filter_hierarchy()
2072 rb_erase(&h->rb_node, &hists->entries); in hists__filter_hierarchy()
2077 hists->entries = new_root; in hists__filter_hierarchy()
2080 void hists__filter_by_thread(struct hists *hists) in hists__filter_by_thread() argument
2083 hists__filter_hierarchy(hists, HIST_FILTER__THREAD, in hists__filter_by_thread()
2084 hists->thread_filter); in hists__filter_by_thread()
2086 hists__filter_by_type(hists, HIST_FILTER__THREAD, in hists__filter_by_thread()
2090 void hists__filter_by_dso(struct hists *hists) in hists__filter_by_dso() argument
2093 hists__filter_hierarchy(hists, HIST_FILTER__DSO, in hists__filter_by_dso()
2094 hists->dso_filter); in hists__filter_by_dso()
2096 hists__filter_by_type(hists, HIST_FILTER__DSO, in hists__filter_by_dso()
2100 void hists__filter_by_symbol(struct hists *hists) in hists__filter_by_symbol() argument
2103 hists__filter_hierarchy(hists, HIST_FILTER__SYMBOL, in hists__filter_by_symbol()
2104 hists->symbol_filter_str); in hists__filter_by_symbol()
2106 hists__filter_by_type(hists, HIST_FILTER__SYMBOL, in hists__filter_by_symbol()
2110 void hists__filter_by_socket(struct hists *hists) in hists__filter_by_socket() argument
2113 hists__filter_hierarchy(hists, HIST_FILTER__SOCKET, in hists__filter_by_socket()
2114 &hists->socket_filter); in hists__filter_by_socket()
2116 hists__filter_by_type(hists, HIST_FILTER__SOCKET, in hists__filter_by_socket()
2126 void hists__inc_nr_events(struct hists *hists, u32 type) in hists__inc_nr_events() argument
2128 events_stats__inc(&hists->stats, type); in hists__inc_nr_events()
2131 void hists__inc_nr_samples(struct hists *hists, bool filtered) in hists__inc_nr_samples() argument
2133 events_stats__inc(&hists->stats, PERF_RECORD_SAMPLE); in hists__inc_nr_samples()
2135 hists->stats.nr_non_filtered_samples++; in hists__inc_nr_samples()
2138 static struct hist_entry *hists__add_dummy_entry(struct hists *hists, in hists__add_dummy_entry() argument
2147 if (hists__has(hists, need_collapse)) in hists__add_dummy_entry()
2148 root = &hists->entries_collapsed; in hists__add_dummy_entry()
2150 root = hists->entries_in; in hists__add_dummy_entry()
2172 he->hists = hists; in hists__add_dummy_entry()
2177 hists__inc_stats(hists, he); in hists__add_dummy_entry()
2184 static struct hist_entry *add_dummy_hierarchy_entry(struct hists *hists, in add_dummy_hierarchy_entry() argument
2220 he->hists = hists; in add_dummy_hierarchy_entry()
2222 hists__inc_stats(hists, he); in add_dummy_hierarchy_entry()
2228 static struct hist_entry *hists__find_entry(struct hists *hists, in hists__find_entry() argument
2233 if (hists__has(hists, need_collapse)) in hists__find_entry()
2234 n = hists->entries_collapsed.rb_node; in hists__find_entry()
2236 n = hists->entries_in->rb_node; in hists__find_entry()
2301 void hists__match(struct hists *leader, struct hists *other) in hists__match()
2327 static int hists__link_hierarchy(struct hists *leader_hists, in hists__link_hierarchy()
2342 if (leader->hists == leader_hists) { in hists__link_hierarchy()
2376 int hists__link(struct hists *leader, struct hists *other) in hists__link()
2456 u64 hists__total_period(struct hists *hists) in hists__total_period() argument
2458 return symbol_conf.filter_relative ? hists->stats.total_non_filtered_period : in hists__total_period()
2459 hists->stats.total_period; in hists__total_period()
2485 int __hists__init(struct hists *hists, struct perf_hpp_list *hpp_list) in __hists__init() argument
2487 memset(hists, 0, sizeof(*hists)); in __hists__init()
2488 hists->entries_in_array[0] = hists->entries_in_array[1] = RB_ROOT; in __hists__init()
2489 hists->entries_in = &hists->entries_in_array[0]; in __hists__init()
2490 hists->entries_collapsed = RB_ROOT; in __hists__init()
2491 hists->entries = RB_ROOT; in __hists__init()
2492 pthread_mutex_init(&hists->lock, NULL); in __hists__init()
2493 hists->socket_filter = -1; in __hists__init()
2494 hists->hpp_list = hpp_list; in __hists__init()
2495 INIT_LIST_HEAD(&hists->hpp_formats); in __hists__init()
2513 static void hists__delete_all_entries(struct hists *hists) in hists__delete_all_entries() argument
2515 hists__delete_entries(hists); in hists__delete_all_entries()
2516 hists__delete_remaining_entries(&hists->entries_in_array[0]); in hists__delete_all_entries()
2517 hists__delete_remaining_entries(&hists->entries_in_array[1]); in hists__delete_all_entries()
2518 hists__delete_remaining_entries(&hists->entries_collapsed); in hists__delete_all_entries()
2523 struct hists *hists = evsel__hists(evsel); in hists_evsel__exit() local
2527 hists__delete_all_entries(hists); in hists_evsel__exit()
2529 list_for_each_entry_safe(node, tmp, &hists->hpp_formats, list) { in hists_evsel__exit()
2541 struct hists *hists = evsel__hists(evsel); in hists_evsel__init() local
2543 __hists__init(hists, &perf_hpp_list); in hists_evsel__init()