Lines Matching refs:hist_entry
35 struct hist_entry *he);
37 struct hist_entry *he);
39 struct hist_entry *he);
41 struct hist_entry *he);
80 void hists__calc_col_len(struct hists *hists, struct hist_entry *h) in hists__calc_col_len()
256 struct hist_entry *n; in hists__output_recalc_col_len()
262 n = rb_entry(next, struct hist_entry, rb_node); in hists__output_recalc_col_len()
321 static void hists__delete_entry(struct hists *hists, struct hist_entry *he);
323 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry()
345 struct hist_entry *child; in hists__decay_entry()
348 child = rb_entry(node, struct hist_entry, rb_node); in hists__decay_entry()
359 static void hists__delete_entry(struct hists *hists, struct hist_entry *he) in hists__delete_entry()
388 struct hist_entry *n; in hists__decay_entries()
391 n = rb_entry(next, struct hist_entry, rb_node); in hists__decay_entries()
404 struct hist_entry *n; in hists__delete_entries()
407 n = rb_entry(next, struct hist_entry, rb_node); in hists__delete_entries()
414 struct hist_entry *hists__get_entry(struct hists *hists, int idx) in hists__get_entry()
417 struct hist_entry *n; in hists__get_entry()
421 n = rb_entry(next, struct hist_entry, rb_node); in hists__get_entry()
436 static int hist_entry__init(struct hist_entry *he, in hist_entry__init()
437 struct hist_entry *template, in hist_entry__init()
535 return zalloc(size + sizeof(struct hist_entry)); in hist_entry__zalloc()
548 static struct hist_entry *hist_entry__new(struct hist_entry *template, in hist_entry__new()
553 struct hist_entry *he; in hist_entry__new()
581 static void hist_entry__add_callchain_period(struct hist_entry *he, u64 period) in hist_entry__add_callchain_period()
591 static struct hist_entry *hists__findnew_entry(struct hists *hists, in hists__findnew_entry()
592 struct hist_entry *entry, in hists__findnew_entry()
598 struct hist_entry *he; in hists__findnew_entry()
607 he = rb_entry(parent, struct hist_entry, rb_node_in); in hists__findnew_entry()
683 static void hists__res_sample(struct hist_entry *he, struct perf_sample *sample) in hists__res_sample()
699 static struct hist_entry*
712 struct hist_entry entry = { in __hists__add_entry()
761 struct hist_entry *hists__add_entry(struct hists *hists, in hists__add_entry()
774 struct hist_entry *hists__add_entry_ops(struct hists *hists, in hists__add_entry_ops()
788 struct hist_entry *hists__add_entry_block(struct hists *hists, in hists__add_entry_block()
792 struct hist_entry entry = { in hists__add_entry_block()
840 struct hist_entry *he; in iter_add_single_mem_entry()
873 struct hist_entry *he = iter->he; in iter_finish_mem_entry()
947 struct hist_entry *he = NULL; in iter_add_next_branch_entry()
998 struct hist_entry *he; in iter_add_single_normal_entry()
1013 struct hist_entry *he = iter->he; in iter_finish_normal_entry()
1031 struct hist_entry **he_cache; in iter_prepare_cumulative_entry()
1061 struct hist_entry **he_cache = iter->priv; in iter_add_single_cumulative_entry()
1062 struct hist_entry *he; in iter_add_single_cumulative_entry()
1100 hist_entry__fast__sym_diff(struct hist_entry *left, in hist_entry__fast__sym_diff()
1101 struct hist_entry *right) in hist_entry__fast__sym_diff()
1119 struct hist_entry **he_cache = iter->priv; in iter_add_next_cumulative_entry()
1120 struct hist_entry *he; in iter_add_next_cumulative_entry()
1121 struct hist_entry he_tmp = { in iter_add_next_cumulative_entry()
1276 hist_entry__cmp(struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp()
1296 hist_entry__collapse(struct hist_entry *left, struct hist_entry *right) in hist_entry__collapse()
1315 void hist_entry__delete(struct hist_entry *he) in hist_entry__delete()
1361 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, in hist_entry__snprintf_alignment()
1379 static void hists__apply_filters(struct hists *hists, struct hist_entry *he);
1380 static void hists__remove_entry_filter(struct hists *hists, struct hist_entry *he,
1390 static void hist_entry__check_and_remove_filter(struct hist_entry *he, in hist_entry__check_and_remove_filter()
1396 struct hist_entry *parent = he->parent_he; in hist_entry__check_and_remove_filter()
1460 static void hist_entry__apply_hierarchy_filters(struct hist_entry *he) in hist_entry__apply_hierarchy_filters()
1474 static struct hist_entry *hierarchy_insert_entry(struct hists *hists, in hierarchy_insert_entry()
1476 struct hist_entry *he, in hierarchy_insert_entry()
1477 struct hist_entry *parent_he, in hierarchy_insert_entry()
1482 struct hist_entry *iter, *new; in hierarchy_insert_entry()
1489 iter = rb_entry(parent, struct hist_entry, rb_node_in); in hierarchy_insert_entry()
1548 struct hist_entry *he) in hists__hierarchy_insert_entry()
1551 struct hist_entry *new_he = NULL; in hists__hierarchy_insert_entry()
1552 struct hist_entry *parent = NULL; in hists__hierarchy_insert_entry()
1600 struct hist_entry *he) in hists__collapse_insert_entry()
1604 struct hist_entry *iter; in hists__collapse_insert_entry()
1613 iter = rb_entry(parent, struct hist_entry, rb_node_in); in hists__collapse_insert_entry()
1668 static void hists__apply_filters(struct hists *hists, struct hist_entry *he) in hists__apply_filters()
1680 struct hist_entry *n; in hists__collapse_resort()
1695 n = rb_entry(next, struct hist_entry, rb_node_in); in hists__collapse_resort()
1717 static int64_t hist_entry__sort(struct hist_entry *a, struct hist_entry *b) in hist_entry__sort()
1749 static void hists__inc_filter_stats(struct hists *hists, struct hist_entry *h) in hists__inc_filter_stats()
1755 void hists__inc_stats(struct hists *hists, struct hist_entry *h) in hists__inc_stats()
1767 struct hist_entry *he; in hierarchy_recalc_total_periods()
1780 he = rb_entry(node, struct hist_entry, rb_node); in hierarchy_recalc_total_periods()
1790 struct hist_entry *he) in hierarchy_insert_output_entry()
1794 struct hist_entry *iter; in hierarchy_insert_output_entry()
1800 iter = rb_entry(parent, struct hist_entry, rb_node); in hierarchy_insert_output_entry()
1828 struct hist_entry *he; in hists__hierarchy_output_resort()
1834 he = rb_entry(node, struct hist_entry, rb_node_in); in hists__hierarchy_output_resort()
1875 struct hist_entry *he, in __hists__insert_output_entry()
1881 struct hist_entry *iter; in __hists__insert_output_entry()
1900 iter = rb_entry(parent, struct hist_entry, rb_node); in __hists__insert_output_entry()
1926 struct hist_entry *n; in output_resort()
1958 n = rb_entry(next, struct hist_entry, rb_node_in); in output_resort()
2006 static bool can_goto_child(struct hist_entry *he, enum hierarchy_move_dir hmd) in can_goto_child()
2019 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); in rb_hierarchy_last()
2023 he = rb_entry(node, struct hist_entry, rb_node); in rb_hierarchy_last()
2030 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); in __rb_hierarchy_next()
2049 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); in rb_hierarchy_prev()
2062 bool hist_entry__has_hierarchy_children(struct hist_entry *he, float limit) in hist_entry__has_hierarchy_children()
2065 struct hist_entry *child; in hist_entry__has_hierarchy_children()
2072 child = rb_entry(node, struct hist_entry, rb_node); in hist_entry__has_hierarchy_children()
2076 child = rb_entry(node, struct hist_entry, rb_node); in hist_entry__has_hierarchy_children()
2087 static void hists__remove_entry_filter(struct hists *hists, struct hist_entry *h, in hists__remove_entry_filter()
2093 struct hist_entry *parent = h->parent_he; in hists__remove_entry_filter()
2130 struct hist_entry *he) in hists__filter_entry_by_dso()
2142 struct hist_entry *he) in hists__filter_entry_by_thread()
2154 struct hist_entry *he) in hists__filter_entry_by_symbol()
2167 struct hist_entry *he) in hists__filter_entry_by_socket()
2178 typedef bool (*filter_fn_t)(struct hists *hists, struct hist_entry *he);
2190 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_by_type()
2200 struct hist_entry *he) in resort_filtered_entry()
2204 struct hist_entry *iter; in resort_filtered_entry()
2211 iter = rb_entry(parent, struct hist_entry, rb_node); in resort_filtered_entry()
2229 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in resort_filtered_entry()
2252 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_hierarchy()
2296 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_hierarchy()
2375 static struct hist_entry *hists__add_dummy_entry(struct hists *hists, in hists__add_dummy_entry()
2376 struct hist_entry *pair) in hists__add_dummy_entry()
2381 struct hist_entry *he; in hists__add_dummy_entry()
2394 he = rb_entry(parent, struct hist_entry, rb_node_in); in hists__add_dummy_entry()
2424 static struct hist_entry *add_dummy_hierarchy_entry(struct hists *hists, in add_dummy_hierarchy_entry()
2426 struct hist_entry *pair) in add_dummy_hierarchy_entry()
2430 struct hist_entry *he; in add_dummy_hierarchy_entry()
2439 he = rb_entry(parent, struct hist_entry, rb_node_in); in add_dummy_hierarchy_entry()
2471 static struct hist_entry *hists__find_entry(struct hists *hists, in hists__find_entry()
2472 struct hist_entry *he) in hists__find_entry()
2482 struct hist_entry *iter = rb_entry(n, struct hist_entry, rb_node_in); in hists__find_entry()
2496 static struct hist_entry *hists__find_hierarchy_entry(struct rb_root_cached *root, in hists__find_hierarchy_entry()
2497 struct hist_entry *he) in hists__find_hierarchy_entry()
2502 struct hist_entry *iter; in hists__find_hierarchy_entry()
2506 iter = rb_entry(n, struct hist_entry, rb_node_in); in hists__find_hierarchy_entry()
2528 struct hist_entry *pos, *pair; in hists__match_hierarchy()
2531 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__match_hierarchy()
2548 struct hist_entry *pos, *pair; in hists__match()
2562 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__match()
2571 struct hist_entry *parent, in hists__link_hierarchy()
2576 struct hist_entry *pos, *leader; in hists__link_hierarchy()
2579 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__link_hierarchy()
2623 struct hist_entry *pos, *pair; in hists__link()
2638 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__link()
2655 struct hist_entry *pos; in hists__unlink()
2663 pos = rb_entry(nd, struct hist_entry, rb_node_in); in hists__unlink()
2859 struct hist_entry *he; in hists__delete_remaining_entries()
2865 he = rb_entry(node, struct hist_entry, rb_node_in); in hists__delete_remaining_entries()