Lines Matching refs:he
34 struct hist_entry *he);
36 struct hist_entry *he);
38 struct hist_entry *he);
40 struct hist_entry *he);
320 static void hists__delete_entry(struct hists *hists, struct hist_entry *he);
322 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry() argument
324 u64 prev_period = he->stat.period; in hists__decay_entry()
330 he_stat__decay(&he->stat); in hists__decay_entry()
332 he_stat__decay(he->stat_acc); in hists__decay_entry()
333 decay_callchain(he->callchain); in hists__decay_entry()
335 diff = prev_period - he->stat.period; in hists__decay_entry()
337 if (!he->depth) { in hists__decay_entry()
339 if (!he->filtered) in hists__decay_entry()
343 if (!he->leaf) { in hists__decay_entry()
345 struct rb_node *node = rb_first_cached(&he->hroot_out); in hists__decay_entry()
355 return he->stat.period == 0; in hists__decay_entry()
358 static void hists__delete_entry(struct hists *hists, struct hist_entry *he) in hists__delete_entry() argument
363 if (he->parent_he) { in hists__delete_entry()
364 root_in = &he->parent_he->hroot_in; in hists__delete_entry()
365 root_out = &he->parent_he->hroot_out; in hists__delete_entry()
374 rb_erase_cached(&he->rb_node_in, root_in); in hists__delete_entry()
375 rb_erase_cached(&he->rb_node, root_out); in hists__delete_entry()
378 if (!he->filtered) in hists__delete_entry()
381 hist_entry__delete(he); in hists__delete_entry()
435 static int hist_entry__init(struct hist_entry *he, in hist_entry__init() argument
440 *he = *template; in hist_entry__init()
441 he->callchain_size = callchain_size; in hist_entry__init()
444 he->stat_acc = malloc(sizeof(he->stat)); in hist_entry__init()
445 if (he->stat_acc == NULL) in hist_entry__init()
447 memcpy(he->stat_acc, &he->stat, sizeof(he->stat)); in hist_entry__init()
449 memset(&he->stat, 0, sizeof(he->stat)); in hist_entry__init()
452 map__get(he->ms.map); in hist_entry__init()
454 if (he->branch_info) { in hist_entry__init()
460 he->branch_info = malloc(sizeof(*he->branch_info)); in hist_entry__init()
461 if (he->branch_info == NULL) in hist_entry__init()
464 memcpy(he->branch_info, template->branch_info, in hist_entry__init()
465 sizeof(*he->branch_info)); in hist_entry__init()
467 map__get(he->branch_info->from.ms.map); in hist_entry__init()
468 map__get(he->branch_info->to.ms.map); in hist_entry__init()
471 if (he->mem_info) { in hist_entry__init()
472 map__get(he->mem_info->iaddr.ms.map); in hist_entry__init()
473 map__get(he->mem_info->daddr.ms.map); in hist_entry__init()
476 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init()
477 callchain_init(he->callchain); in hist_entry__init()
479 if (he->raw_data) { in hist_entry__init()
480 he->raw_data = memdup(he->raw_data, he->raw_size); in hist_entry__init()
481 if (he->raw_data == NULL) in hist_entry__init()
485 if (he->srcline) { in hist_entry__init()
486 he->srcline = strdup(he->srcline); in hist_entry__init()
487 if (he->srcline == NULL) in hist_entry__init()
492 he->res_samples = calloc(sizeof(struct res_sample), in hist_entry__init()
494 if (!he->res_samples) in hist_entry__init()
498 INIT_LIST_HEAD(&he->pairs.node); in hist_entry__init()
499 thread__get(he->thread); in hist_entry__init()
500 he->hroot_in = RB_ROOT_CACHED; in hist_entry__init()
501 he->hroot_out = RB_ROOT_CACHED; in hist_entry__init()
504 he->leaf = true; in hist_entry__init()
509 zfree(&he->srcline); in hist_entry__init()
512 zfree(&he->raw_data); in hist_entry__init()
515 if (he->branch_info) { in hist_entry__init()
516 map__put(he->branch_info->from.ms.map); in hist_entry__init()
517 map__put(he->branch_info->to.ms.map); in hist_entry__init()
518 zfree(&he->branch_info); in hist_entry__init()
520 if (he->mem_info) { in hist_entry__init()
521 map__put(he->mem_info->iaddr.ms.map); in hist_entry__init()
522 map__put(he->mem_info->daddr.ms.map); in hist_entry__init()
525 map__zput(he->ms.map); in hist_entry__init()
526 zfree(&he->stat_acc); in hist_entry__init()
550 struct hist_entry *he; in hist_entry__new() local
559 he = ops->new(callchain_size); in hist_entry__new()
560 if (he) { in hist_entry__new()
561 err = hist_entry__init(he, template, sample_self, callchain_size); in hist_entry__new()
563 ops->free(he); in hist_entry__new()
564 he = NULL; in hist_entry__new()
568 return he; in hist_entry__new()
578 static void hist_entry__add_callchain_period(struct hist_entry *he, u64 period) in hist_entry__add_callchain_period() argument
580 if (!hist_entry__has_callchains(he) || !symbol_conf.use_callchain) in hist_entry__add_callchain_period()
583 he->hists->callchain_period += period; in hist_entry__add_callchain_period()
584 if (!he->filtered) in hist_entry__add_callchain_period()
585 he->hists->callchain_non_filtered_period += period; in hist_entry__add_callchain_period()
595 struct hist_entry *he; in hists__findnew_entry() local
604 he = rb_entry(parent, struct hist_entry, rb_node_in); in hists__findnew_entry()
612 cmp = hist_entry__cmp(he, entry); in hists__findnew_entry()
616 he_stat__add_period(&he->stat, period); in hists__findnew_entry()
617 hist_entry__add_callchain_period(he, period); in hists__findnew_entry()
620 he_stat__add_period(he->stat_acc, period); in hists__findnew_entry()
636 if (he->ms.map != entry->ms.map) { in hists__findnew_entry()
637 map__put(he->ms.map); in hists__findnew_entry()
638 he->ms.map = map__get(entry->ms.map); in hists__findnew_entry()
651 he = hist_entry__new(entry, sample_self); in hists__findnew_entry()
652 if (!he) in hists__findnew_entry()
656 hist_entry__add_callchain_period(he, period); in hists__findnew_entry()
659 rb_link_node(&he->rb_node_in, parent, p); in hists__findnew_entry()
660 rb_insert_color_cached(&he->rb_node_in, hists->entries_in, leftmost); in hists__findnew_entry()
663 he_stat__add_cpumode_period(&he->stat, al->cpumode, period); in hists__findnew_entry()
665 he_stat__add_cpumode_period(he->stat_acc, al->cpumode, period); in hists__findnew_entry()
666 return he; in hists__findnew_entry()
679 static void hists__res_sample(struct hist_entry *he, struct perf_sample *sample) in hists__res_sample() argument
684 if (he->num_res < symbol_conf.res_sample) { in hists__res_sample()
685 j = he->num_res++; in hists__res_sample()
689 r = &he->res_samples[j]; in hists__res_sample()
745 }, *he = hists__findnew_entry(hists, &entry, al, sample_self); in __hists__add_entry() local
747 if (!hists->has_callchains && he && he->callchain_size != 0) in __hists__add_entry()
749 if (he && symbol_conf.res_sample) in __hists__add_entry()
750 hists__res_sample(he, sample); in __hists__add_entry()
751 return he; in __hists__add_entry()
791 }, *he = hists__findnew_entry(hists, &entry, al, false); in hists__add_entry_block() local
793 return he; in hists__add_entry_block()
831 struct hist_entry *he; in iter_add_single_mem_entry() local
849 he = hists__add_entry(hists, al, iter->parent, NULL, mi, in iter_add_single_mem_entry()
851 if (!he) in iter_add_single_mem_entry()
854 iter->he = he; in iter_add_single_mem_entry()
864 struct hist_entry *he = iter->he; in iter_finish_mem_entry() local
867 if (he == NULL) in iter_finish_mem_entry()
870 hists__inc_nr_samples(hists, he->filtered); in iter_finish_mem_entry()
872 err = hist_entry__append_callchain(he, iter->sample); in iter_finish_mem_entry()
882 iter->he = NULL; in iter_finish_mem_entry()
936 struct hist_entry *he = NULL; in iter_add_next_branch_entry() local
952 he = hists__add_entry(hists, al, iter->parent, &bi[i], NULL, in iter_add_next_branch_entry()
954 if (he == NULL) in iter_add_next_branch_entry()
957 hists__inc_nr_samples(hists, he->filtered); in iter_add_next_branch_entry()
960 iter->he = he; in iter_add_next_branch_entry()
970 iter->he = NULL; in iter_finish_branch_entry()
987 struct hist_entry *he; in iter_add_single_normal_entry() local
989 he = hists__add_entry(evsel__hists(evsel), al, iter->parent, NULL, NULL, in iter_add_single_normal_entry()
991 if (he == NULL) in iter_add_single_normal_entry()
994 iter->he = he; in iter_add_single_normal_entry()
1002 struct hist_entry *he = iter->he; in iter_finish_normal_entry() local
1006 if (he == NULL) in iter_finish_normal_entry()
1009 iter->he = NULL; in iter_finish_normal_entry()
1011 hists__inc_nr_samples(evsel__hists(evsel), he->filtered); in iter_finish_normal_entry()
1013 return hist_entry__append_callchain(he, sample); in iter_finish_normal_entry()
1047 struct hist_entry *he; in iter_add_single_cumulative_entry() local
1050 he = hists__add_entry(hists, al, iter->parent, NULL, NULL, in iter_add_single_cumulative_entry()
1052 if (he == NULL) in iter_add_single_cumulative_entry()
1055 iter->he = he; in iter_add_single_cumulative_entry()
1056 he_cache[iter->curr++] = he; in iter_add_single_cumulative_entry()
1058 hist_entry__append_callchain(he, sample); in iter_add_single_cumulative_entry()
1066 hists__inc_nr_samples(hists, he->filtered); in iter_add_single_cumulative_entry()
1105 struct hist_entry *he; in iter_add_next_cumulative_entry() local
1145 iter->he = NULL; in iter_add_next_cumulative_entry()
1150 he = hists__add_entry(evsel__hists(evsel), al, iter->parent, NULL, NULL, in iter_add_next_cumulative_entry()
1152 if (he == NULL) in iter_add_next_cumulative_entry()
1155 iter->he = he; in iter_add_next_cumulative_entry()
1156 he_cache[iter->curr++] = he; in iter_add_next_cumulative_entry()
1158 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in iter_add_next_cumulative_entry()
1159 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
1168 iter->he = NULL; in iter_finish_cumulative_entry()
1229 if (iter->he && iter->add_entry_cb) { in hist_entry_iter__add()
1240 if (iter->he && iter->add_entry_cb) { in hist_entry_iter__add()
1297 void hist_entry__delete(struct hist_entry *he) in hist_entry__delete() argument
1299 struct hist_entry_ops *ops = he->ops; in hist_entry__delete()
1301 thread__zput(he->thread); in hist_entry__delete()
1302 map__zput(he->ms.map); in hist_entry__delete()
1304 if (he->branch_info) { in hist_entry__delete()
1305 map__zput(he->branch_info->from.ms.map); in hist_entry__delete()
1306 map__zput(he->branch_info->to.ms.map); in hist_entry__delete()
1307 free_srcline(he->branch_info->srcline_from); in hist_entry__delete()
1308 free_srcline(he->branch_info->srcline_to); in hist_entry__delete()
1309 zfree(&he->branch_info); in hist_entry__delete()
1312 if (he->mem_info) { in hist_entry__delete()
1313 map__zput(he->mem_info->iaddr.ms.map); in hist_entry__delete()
1314 map__zput(he->mem_info->daddr.ms.map); in hist_entry__delete()
1315 mem_info__zput(he->mem_info); in hist_entry__delete()
1318 if (he->block_info) in hist_entry__delete()
1319 block_info__zput(he->block_info); in hist_entry__delete()
1321 zfree(&he->res_samples); in hist_entry__delete()
1322 zfree(&he->stat_acc); in hist_entry__delete()
1323 free_srcline(he->srcline); in hist_entry__delete()
1324 if (he->srcfile && he->srcfile[0]) in hist_entry__delete()
1325 zfree(&he->srcfile); in hist_entry__delete()
1326 free_callchain(he->callchain); in hist_entry__delete()
1327 zfree(&he->trace_output); in hist_entry__delete()
1328 zfree(&he->raw_data); in hist_entry__delete()
1329 ops->free(he); in hist_entry__delete()
1339 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, in hist_entry__snprintf_alignment() argument
1342 if (!list_is_last(&fmt->list, &he->hists->hpp_list->fields)) { in hist_entry__snprintf_alignment()
1343 const int width = fmt->width(fmt, hpp, he->hists); in hist_entry__snprintf_alignment()
1357 static void hists__apply_filters(struct hists *hists, struct hist_entry *he);
1358 static void hists__remove_entry_filter(struct hists *hists, struct hist_entry *he,
1368 static void hist_entry__check_and_remove_filter(struct hist_entry *he, in hist_entry__check_and_remove_filter() argument
1374 struct hist_entry *parent = he->parent_he; in hist_entry__check_and_remove_filter()
1401 perf_hpp_list__for_each_format(he->hpp_list, fmt) { in hist_entry__check_and_remove_filter()
1415 if (!(he->filtered & (1 << type))) { in hist_entry__check_and_remove_filter()
1432 he->filtered |= (1 << type); in hist_entry__check_and_remove_filter()
1434 he->filtered |= (parent->filtered & (1 << type)); in hist_entry__check_and_remove_filter()
1438 static void hist_entry__apply_hierarchy_filters(struct hist_entry *he) in hist_entry__apply_hierarchy_filters() argument
1440 hist_entry__check_and_remove_filter(he, HIST_FILTER__THREAD, in hist_entry__apply_hierarchy_filters()
1443 hist_entry__check_and_remove_filter(he, HIST_FILTER__DSO, in hist_entry__apply_hierarchy_filters()
1446 hist_entry__check_and_remove_filter(he, HIST_FILTER__SYMBOL, in hist_entry__apply_hierarchy_filters()
1449 hists__apply_filters(he->hists, he); in hist_entry__apply_hierarchy_filters()
1454 struct hist_entry *he, in hierarchy_insert_entry() argument
1471 cmp = fmt->collapse(fmt, iter, he); in hierarchy_insert_entry()
1477 he_stat__add_stat(&iter->stat, &he->stat); in hierarchy_insert_entry()
1489 new = hist_entry__new(he, true); in hierarchy_insert_entry()
1504 he->trace_output = NULL; in hierarchy_insert_entry()
1509 he->srcline = NULL; in hierarchy_insert_entry()
1514 he->srcfile = NULL; in hierarchy_insert_entry()
1526 struct hist_entry *he) in hists__hierarchy_insert_entry() argument
1540 new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp); in hists__hierarchy_insert_entry()
1559 he->callchain) < 0) in hists__hierarchy_insert_entry()
1565 hist_entry__delete(he); in hists__hierarchy_insert_entry()
1573 struct hist_entry *he) in hists__collapse_insert_entry() argument
1582 return hists__hierarchy_insert_entry(hists, root, he); in hists__collapse_insert_entry()
1588 cmp = hist_entry__collapse(iter, he); in hists__collapse_insert_entry()
1593 he_stat__add_stat(&iter->stat, &he->stat); in hists__collapse_insert_entry()
1595 he_stat__add_stat(iter->stat_acc, he->stat_acc); in hists__collapse_insert_entry()
1597 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hists__collapse_insert_entry()
1601 he->callchain) < 0) in hists__collapse_insert_entry()
1604 hist_entry__delete(he); in hists__collapse_insert_entry()
1617 rb_link_node(&he->rb_node_in, parent, p); in hists__collapse_insert_entry()
1618 rb_insert_color_cached(&he->rb_node_in, root, leftmost); in hists__collapse_insert_entry()
1637 static void hists__apply_filters(struct hists *hists, struct hist_entry *he) in hists__apply_filters() argument
1639 hists__filter_entry_by_dso(hists, he); in hists__apply_filters()
1640 hists__filter_entry_by_thread(hists, he); in hists__apply_filters()
1641 hists__filter_entry_by_symbol(hists, he); in hists__apply_filters()
1642 hists__filter_entry_by_socket(hists, he); in hists__apply_filters()
1736 struct hist_entry *he; in hierarchy_recalc_total_periods() local
1749 he = rb_entry(node, struct hist_entry, rb_node); in hierarchy_recalc_total_periods()
1752 hists->stats.total_period += he->stat.period; in hierarchy_recalc_total_periods()
1753 if (!he->filtered) in hierarchy_recalc_total_periods()
1754 hists->stats.total_non_filtered_period += he->stat.period; in hierarchy_recalc_total_periods()
1759 struct hist_entry *he) in hierarchy_insert_output_entry() argument
1771 if (hist_entry__sort(he, iter) > 0) in hierarchy_insert_output_entry()
1779 rb_link_node(&he->rb_node, parent, p); in hierarchy_insert_output_entry()
1780 rb_insert_color_cached(&he->rb_node, root, leftmost); in hierarchy_insert_output_entry()
1783 perf_hpp_list__for_each_sort_list(he->hpp_list, fmt) { in hierarchy_insert_output_entry()
1785 fmt->init(fmt, he); in hierarchy_insert_output_entry()
1797 struct hist_entry *he; in hists__hierarchy_output_resort() local
1803 he = rb_entry(node, struct hist_entry, rb_node_in); in hists__hierarchy_output_resort()
1806 hierarchy_insert_output_entry(root_out, he); in hists__hierarchy_output_resort()
1812 if (!he->filtered) { in hists__hierarchy_output_resort()
1814 hists__calc_col_len(hists, he); in hists__hierarchy_output_resort()
1817 if (!he->leaf) { in hists__hierarchy_output_resort()
1819 &he->hroot_in, in hists__hierarchy_output_resort()
1820 &he->hroot_out, in hists__hierarchy_output_resort()
1830 u64 total = he->stat.period; in hists__hierarchy_output_resort()
1833 total = he->stat_acc->period; in hists__hierarchy_output_resort()
1838 callchain_param.sort(&he->sorted_chain, he->callchain, in hists__hierarchy_output_resort()
1844 struct hist_entry *he, in __hists__insert_output_entry() argument
1856 u64 total = he->stat.period; in __hists__insert_output_entry()
1859 total = he->stat_acc->period; in __hists__insert_output_entry()
1863 callchain_param.sort(&he->sorted_chain, he->callchain, in __hists__insert_output_entry()
1871 if (hist_entry__sort(he, iter) > 0) in __hists__insert_output_entry()
1879 rb_link_node(&he->rb_node, parent, p); in __hists__insert_output_entry()
1880 rb_insert_color_cached(&he->rb_node, entries, leftmost); in __hists__insert_output_entry()
1885 fmt->init(fmt, he); in __hists__insert_output_entry()
1975 static bool can_goto_child(struct hist_entry *he, enum hierarchy_move_dir hmd) in can_goto_child() argument
1977 if (he->leaf || hmd == HMD_FORCE_SIBLING) in can_goto_child()
1980 if (he->unfolded || hmd == HMD_FORCE_CHILD) in can_goto_child()
1988 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); in rb_hierarchy_last() local
1990 while (can_goto_child(he, HMD_NORMAL)) { in rb_hierarchy_last()
1991 node = rb_last(&he->hroot_out.rb_root); in rb_hierarchy_last()
1992 he = rb_entry(node, struct hist_entry, rb_node); in rb_hierarchy_last()
1999 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); in __rb_hierarchy_next() local
2001 if (can_goto_child(he, hmd)) in __rb_hierarchy_next()
2002 node = rb_first_cached(&he->hroot_out); in __rb_hierarchy_next()
2007 he = he->parent_he; in __rb_hierarchy_next()
2008 if (he == NULL) in __rb_hierarchy_next()
2011 node = rb_next(&he->rb_node); in __rb_hierarchy_next()
2018 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); in rb_hierarchy_prev() local
2024 he = he->parent_he; in rb_hierarchy_prev()
2025 if (he == NULL) in rb_hierarchy_prev()
2028 return &he->rb_node; in rb_hierarchy_prev()
2031 bool hist_entry__has_hierarchy_children(struct hist_entry *he, float limit) in hist_entry__has_hierarchy_children() argument
2037 if (he->leaf) in hist_entry__has_hierarchy_children()
2040 node = rb_first_cached(&he->hroot_out); in hist_entry__has_hierarchy_children()
2099 struct hist_entry *he) in hists__filter_entry_by_dso() argument
2102 (he->ms.map == NULL || he->ms.map->dso != hists->dso_filter)) { in hists__filter_entry_by_dso()
2103 he->filtered |= (1 << HIST_FILTER__DSO); in hists__filter_entry_by_dso()
2111 struct hist_entry *he) in hists__filter_entry_by_thread() argument
2114 he->thread != hists->thread_filter) { in hists__filter_entry_by_thread()
2115 he->filtered |= (1 << HIST_FILTER__THREAD); in hists__filter_entry_by_thread()
2123 struct hist_entry *he) in hists__filter_entry_by_symbol() argument
2126 (!he->ms.sym || strstr(he->ms.sym->name, in hists__filter_entry_by_symbol()
2128 he->filtered |= (1 << HIST_FILTER__SYMBOL); in hists__filter_entry_by_symbol()
2136 struct hist_entry *he) in hists__filter_entry_by_socket() argument
2139 (he->socket != hists->socket_filter)) { in hists__filter_entry_by_socket()
2140 he->filtered |= (1 << HIST_FILTER__SOCKET); in hists__filter_entry_by_socket()
2147 typedef bool (*filter_fn_t)(struct hists *hists, struct hist_entry *he);
2169 struct hist_entry *he) in resort_filtered_entry() argument
2182 if (hist_entry__sort(he, iter) > 0) in resort_filtered_entry()
2190 rb_link_node(&he->rb_node, parent, p); in resort_filtered_entry()
2191 rb_insert_color_cached(&he->rb_node, root, leftmost); in resort_filtered_entry()
2193 if (he->leaf || he->filtered) in resort_filtered_entry()
2196 nd = rb_first_cached(&he->hroot_out); in resort_filtered_entry()
2201 rb_erase_cached(&h->rb_node, &he->hroot_out); in resort_filtered_entry()
2206 he->hroot_out = new_root; in resort_filtered_entry()
2350 struct hist_entry *he; in hists__add_dummy_entry() local
2363 he = rb_entry(parent, struct hist_entry, rb_node_in); in hists__add_dummy_entry()
2365 cmp = hist_entry__collapse(he, pair); in hists__add_dummy_entry()
2378 he = hist_entry__new(pair, true); in hists__add_dummy_entry()
2379 if (he) { in hists__add_dummy_entry()
2380 memset(&he->stat, 0, sizeof(he->stat)); in hists__add_dummy_entry()
2381 he->hists = hists; in hists__add_dummy_entry()
2383 memset(he->stat_acc, 0, sizeof(he->stat)); in hists__add_dummy_entry()
2384 rb_link_node(&he->rb_node_in, parent, p); in hists__add_dummy_entry()
2385 rb_insert_color_cached(&he->rb_node_in, root, leftmost); in hists__add_dummy_entry()
2386 hists__inc_stats(hists, he); in hists__add_dummy_entry()
2387 he->dummy = true; in hists__add_dummy_entry()
2390 return he; in hists__add_dummy_entry()
2399 struct hist_entry *he; in add_dummy_hierarchy_entry() local
2408 he = rb_entry(parent, struct hist_entry, rb_node_in); in add_dummy_hierarchy_entry()
2410 perf_hpp_list__for_each_sort_list(he->hpp_list, fmt) { in add_dummy_hierarchy_entry()
2411 cmp = fmt->collapse(fmt, he, pair); in add_dummy_hierarchy_entry()
2426 he = hist_entry__new(pair, true); in add_dummy_hierarchy_entry()
2427 if (he) { in add_dummy_hierarchy_entry()
2428 rb_link_node(&he->rb_node_in, parent, p); in add_dummy_hierarchy_entry()
2429 rb_insert_color_cached(&he->rb_node_in, root, leftmost); in add_dummy_hierarchy_entry()
2431 he->dummy = true; in add_dummy_hierarchy_entry()
2432 he->hists = hists; in add_dummy_hierarchy_entry()
2433 memset(&he->stat, 0, sizeof(he->stat)); in add_dummy_hierarchy_entry()
2434 hists__inc_stats(hists, he); in add_dummy_hierarchy_entry()
2437 return he; in add_dummy_hierarchy_entry()
2441 struct hist_entry *he) in hists__find_entry() argument
2452 int64_t cmp = hist_entry__collapse(iter, he); in hists__find_entry()
2466 struct hist_entry *he) in hists__find_hierarchy_entry() argument
2476 perf_hpp_list__for_each_sort_list(he->hpp_list, fmt) { in hists__find_hierarchy_entry()
2477 cmp = fmt->collapse(fmt, iter, he); in hists__find_hierarchy_entry()
2828 struct hist_entry *he; in hists__delete_remaining_entries() local
2834 he = rb_entry(node, struct hist_entry, rb_node_in); in hists__delete_remaining_entries()
2835 hist_entry__delete(he); in hists__delete_remaining_entries()