Lines Matching refs:hist_entry
34 struct hist_entry *he);
36 struct hist_entry *he);
38 struct hist_entry *he);
40 struct hist_entry *he);
79 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len()
255 struct hist_entry *n; in hists__output_recalc_col_len()
261 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
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()
344 struct hist_entry *child; in hists__decay_entry()
347 child = rb_entry(node, struct hist_entry, rb_node); in hists__decay_entry()
358 static void hists__delete_entry(struct hists *hists, struct hist_entry *he) in hists__delete_entry()
387 struct hist_entry *n; in hists__decay_entries()
390 n = rb_entry(next, struct hist_entry, rb_node); in hists__decay_entries()
403 struct hist_entry *n; in hists__delete_entries()
406 n = rb_entry(next, struct hist_entry, rb_node); in hists__delete_entries()
413 struct hist_entry *hists__get_entry(struct hists *hists, int idx) in hists__get_entry()
416 struct hist_entry *n; in hists__get_entry()
420 n = rb_entry(next, struct hist_entry, rb_node); in hists__get_entry()
435 static int hist_entry__init(struct hist_entry *he, in hist_entry__init()
436 struct hist_entry *template, in hist_entry__init()
532 return zalloc(size + sizeof(struct hist_entry)); in hist_entry__zalloc()
545 static struct hist_entry *hist_entry__new(struct hist_entry *template, in hist_entry__new()
550 struct hist_entry *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()
588 static struct hist_entry *hists__findnew_entry(struct hists *hists, in hists__findnew_entry()
589 struct hist_entry *entry, in hists__findnew_entry()
595 struct hist_entry *he; in hists__findnew_entry()
604 he = rb_entry(parent, struct hist_entry, rb_node_in); in hists__findnew_entry()
679 static void hists__res_sample(struct hist_entry *he, struct perf_sample *sample) in hists__res_sample()
695 static struct hist_entry*
707 struct hist_entry entry = { in __hists__add_entry()
754 struct hist_entry *hists__add_entry(struct hists *hists, in hists__add_entry()
766 struct hist_entry *hists__add_entry_ops(struct hists *hists, in hists__add_entry_ops()
779 struct hist_entry *hists__add_entry_block(struct hists *hists, in hists__add_entry_block()
783 struct hist_entry entry = { in hists__add_entry_block()
831 struct hist_entry *he; in iter_add_single_mem_entry()
864 struct hist_entry *he = iter->he; in iter_finish_mem_entry()
936 struct hist_entry *he = NULL; in iter_add_next_branch_entry()
987 struct hist_entry *he; in iter_add_single_normal_entry()
1002 struct hist_entry *he = iter->he; in iter_finish_normal_entry()
1020 struct hist_entry **he_cache; in iter_prepare_cumulative_entry()
1046 struct hist_entry **he_cache = iter->priv; in iter_add_single_cumulative_entry()
1047 struct hist_entry *he; in iter_add_single_cumulative_entry()
1085 hist_entry__fast__sym_diff(struct hist_entry *left, in hist_entry__fast__sym_diff()
1086 struct hist_entry *right) in hist_entry__fast__sym_diff()
1104 struct hist_entry **he_cache = iter->priv; in iter_add_next_cumulative_entry()
1105 struct hist_entry *he; in iter_add_next_cumulative_entry()
1106 struct hist_entry he_tmp = { in iter_add_next_cumulative_entry()
1258 hist_entry__cmp(struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp()
1278 hist_entry__collapse(struct hist_entry *left, struct hist_entry *right) in hist_entry__collapse()
1297 void hist_entry__delete(struct hist_entry *he) in hist_entry__delete()
1339 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, 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()
1374 struct hist_entry *parent = he->parent_he; 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()
1452 static struct hist_entry *hierarchy_insert_entry(struct hists *hists, in hierarchy_insert_entry()
1454 struct hist_entry *he, in hierarchy_insert_entry()
1455 struct hist_entry *parent_he, in hierarchy_insert_entry()
1460 struct hist_entry *iter, *new; in hierarchy_insert_entry()
1467 iter = rb_entry(parent, struct hist_entry, rb_node_in); in hierarchy_insert_entry()
1526 struct hist_entry *he) in hists__hierarchy_insert_entry()
1529 struct hist_entry *new_he = NULL; in hists__hierarchy_insert_entry()
1530 struct hist_entry *parent = NULL; in hists__hierarchy_insert_entry()
1573 struct hist_entry *he) in hists__collapse_insert_entry()
1577 struct hist_entry *iter; in hists__collapse_insert_entry()
1586 iter = rb_entry(parent, struct hist_entry, rb_node_in); in hists__collapse_insert_entry()
1637 static void hists__apply_filters(struct hists *hists, struct hist_entry *he) in hists__apply_filters()
1649 struct hist_entry *n; in hists__collapse_resort()
1664 n = rb_entry(next, struct hist_entry, rb_node_in); in hists__collapse_resort()
1686 static int64_t hist_entry__sort(struct hist_entry *a, struct hist_entry *b) in hist_entry__sort()
1718 static void hists__inc_filter_stats(struct hists *hists, struct hist_entry *h) in hists__inc_filter_stats()
1724 void hists__inc_stats(struct hists *hists, struct hist_entry *h) in hists__inc_stats()
1736 struct hist_entry *he; in hierarchy_recalc_total_periods()
1749 he = rb_entry(node, struct hist_entry, rb_node); in hierarchy_recalc_total_periods()
1759 struct hist_entry *he) in hierarchy_insert_output_entry()
1763 struct hist_entry *iter; in hierarchy_insert_output_entry()
1769 iter = rb_entry(parent, struct hist_entry, rb_node); in hierarchy_insert_output_entry()
1797 struct hist_entry *he; in hists__hierarchy_output_resort()
1803 he = rb_entry(node, struct hist_entry, rb_node_in); in hists__hierarchy_output_resort()
1844 struct hist_entry *he, in __hists__insert_output_entry()
1850 struct hist_entry *iter; in __hists__insert_output_entry()
1869 iter = rb_entry(parent, struct hist_entry, rb_node); in __hists__insert_output_entry()
1895 struct hist_entry *n; in output_resort()
1927 n = rb_entry(next, struct hist_entry, rb_node_in); in output_resort()
1975 static bool can_goto_child(struct hist_entry *he, enum hierarchy_move_dir hmd) in can_goto_child()
1988 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); 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()
2018 struct hist_entry *he = rb_entry(node, struct hist_entry, 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()
2034 struct hist_entry *child; in hist_entry__has_hierarchy_children()
2041 child = rb_entry(node, struct hist_entry, rb_node); in hist_entry__has_hierarchy_children()
2045 child = rb_entry(node, struct hist_entry, rb_node); in hist_entry__has_hierarchy_children()
2056 static void hists__remove_entry_filter(struct hists *hists, struct hist_entry *h, in hists__remove_entry_filter()
2062 struct hist_entry *parent = h->parent_he; in hists__remove_entry_filter()
2099 struct hist_entry *he) in hists__filter_entry_by_dso()
2111 struct hist_entry *he) in hists__filter_entry_by_thread()
2123 struct hist_entry *he) in hists__filter_entry_by_symbol()
2136 struct hist_entry *he) in hists__filter_entry_by_socket()
2147 typedef bool (*filter_fn_t)(struct hists *hists, struct hist_entry *he);
2159 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_by_type()
2169 struct hist_entry *he) in resort_filtered_entry()
2173 struct hist_entry *iter; in resort_filtered_entry()
2180 iter = rb_entry(parent, struct hist_entry, rb_node); in resort_filtered_entry()
2198 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in resort_filtered_entry()
2221 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_hierarchy()
2265 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_hierarchy()
2344 static struct hist_entry *hists__add_dummy_entry(struct hists *hists, in hists__add_dummy_entry()
2345 struct hist_entry *pair) in hists__add_dummy_entry()
2350 struct hist_entry *he; in hists__add_dummy_entry()
2363 he = rb_entry(parent, struct hist_entry, rb_node_in); in hists__add_dummy_entry()
2393 static struct hist_entry *add_dummy_hierarchy_entry(struct hists *hists, in add_dummy_hierarchy_entry()
2395 struct hist_entry *pair) in add_dummy_hierarchy_entry()
2399 struct hist_entry *he; in add_dummy_hierarchy_entry()
2408 he = rb_entry(parent, struct hist_entry, rb_node_in); in add_dummy_hierarchy_entry()
2440 static struct hist_entry *hists__find_entry(struct hists *hists, in hists__find_entry()
2441 struct hist_entry *he) in hists__find_entry()
2451 struct hist_entry *iter = rb_entry(n, struct hist_entry, rb_node_in); in hists__find_entry()
2465 static struct hist_entry *hists__find_hierarchy_entry(struct rb_root_cached *root, in hists__find_hierarchy_entry()
2466 struct hist_entry *he) in hists__find_hierarchy_entry()
2471 struct hist_entry *iter; in hists__find_hierarchy_entry()
2475 iter = rb_entry(n, struct hist_entry, rb_node_in); in hists__find_hierarchy_entry()
2497 struct hist_entry *pos, *pair; in hists__match_hierarchy()
2500 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__match_hierarchy()
2517 struct hist_entry *pos, *pair; in hists__match()
2531 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__match()
2540 struct hist_entry *parent, in hists__link_hierarchy()
2545 struct hist_entry *pos, *leader; in hists__link_hierarchy()
2548 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__link_hierarchy()
2592 struct hist_entry *pos, *pair; in hists__link()
2607 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__link()
2624 struct hist_entry *pos; in hists__unlink()
2632 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__unlink()
2828 struct hist_entry *he; in hists__delete_remaining_entries()
2834 he = rb_entry(node, struct hist_entry, rb_node_in); in hists__delete_remaining_entries()