Home
last modified time | relevance | path

Searched refs:callchain_node (Results 1 – 9 of 9) sorted by relevance

/tools/perf/util/
Dcallchain.h60 struct callchain_node { struct
61 struct callchain_node *parent; argument
77 struct callchain_node node; argument
185 static inline u64 callchain_cumul_hits(struct callchain_node *node) in callchain_cumul_hits()
190 static inline unsigned callchain_cumul_counts(struct callchain_node *node) in callchain_cumul_counts()
285 char *callchain_node__scnprintf_value(struct callchain_node *node,
287 int callchain_node__fprintf_value(struct callchain_node *node,
295 int callchain_node__make_parent_list(struct callchain_node *node);
303 bool callchain_cnode_matched(struct callchain_node *base_cnode,
304 struct callchain_node *pair_cnode);
[all …]
Dcallchain.c372 rb_insert_callchain(struct rb_root *root, struct callchain_node *chain, in rb_insert_callchain()
377 struct callchain_node *rnode; in rb_insert_callchain()
384 rnode = rb_entry(parent, struct callchain_node, rb_node); in rb_insert_callchain()
413 __sort_chain_flat(struct rb_root *rb_root, struct callchain_node *node, in __sort_chain_flat()
417 struct callchain_node *child; in __sort_chain_flat()
421 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_flat()
443 static void __sort_chain_graph_abs(struct callchain_node *node, in __sort_chain_graph_abs()
447 struct callchain_node *child; in __sort_chain_graph_abs()
453 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_graph_abs()
471 static void __sort_chain_graph_rel(struct callchain_node *node, in __sort_chain_graph_rel()
[all …]
Dstream.h8 struct callchain_node *cnode;
9 struct callchain_node *pair_cnode;
Dstream.c71 struct callchain_node *cnode) in evsel_streams__set_hot_cnode()
104 struct callchain_node *cnode; in update_hot_callchain()
107 cnode = rb_entry(rb_node, struct callchain_node, rb_node); in update_hot_callchain()
225 struct callchain_node *base_cnode = base_stream->cnode; in print_callchain_pair()
226 struct callchain_node *pair_cnode = base_stream->pair_cnode; in print_callchain_pair()
270 struct callchain_node *cnode = stream->cnode; in print_stream_callchain()
/tools/perf/ui/stdio/
Dhist.c50 static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, in ipchain__fprintf_graph()
114 struct callchain_node *child = NULL; in __callchain__fprintf_graph()
130 child = rb_entry(node, struct callchain_node, rb_node); in __callchain__fprintf_graph()
176 struct callchain_node rem_node = { in __callchain__fprintf_graph()
208 struct callchain_node *cnode; in need_percent_display()
213 cnode = rb_entry(node, struct callchain_node, rb_node); in need_percent_display()
221 struct callchain_node *cnode; in callchain__fprintf_graph()
232 cnode = rb_entry(node, struct callchain_node, rb_node); in callchain__fprintf_graph()
282 static size_t __callchain__fprintf_flat(FILE *fp, struct callchain_node *node, in __callchain__fprintf_flat()
310 struct callchain_node *chain; in callchain__fprintf_flat()
[all …]
/tools/perf/ui/browsers/
Dhists.c176 static int callchain_node__count_rows_rb_tree(struct callchain_node *node) in callchain_node__count_rows_rb_tree()
182 struct callchain_node *child = rb_entry(nd, struct callchain_node, rb_node); in callchain_node__count_rows_rb_tree()
202 static int callchain_node__count_flat_rows(struct callchain_node *node) in callchain_node__count_flat_rows()
231 static int callchain_node__count_folded_rows(struct callchain_node *node __maybe_unused) in callchain_node__count_folded_rows()
236 static int callchain_node__count_rows(struct callchain_node *node) in callchain_node__count_rows()
265 struct callchain_node *node = rb_entry(nd, struct callchain_node, rb_node); in callchain__count_rows()
328 static void callchain_node__init_have_children_rb_tree(struct callchain_node *node) in callchain_node__init_have_children_rb_tree()
333 struct callchain_node *child = rb_entry(nd, struct callchain_node, rb_node); in callchain_node__init_have_children_rb_tree()
351 static void callchain_node__init_have_children(struct callchain_node *node, in callchain_node__init_have_children()
373 struct callchain_node *node = rb_entry(nd, struct callchain_node, rb_node); in callchain__init_have_children()
[all …]
/tools/perf/ui/gtk/
Dhists.c104 struct callchain_node *node; in perf_gtk__add_callchain_flat()
109 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_flat()
166 struct callchain_node *node; in perf_gtk__add_callchain_folded()
173 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_folded()
227 struct callchain_node *node; in perf_gtk__add_callchain_graph()
233 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_graph()
/tools/perf/tests/
Dhists_cumulate.c185 struct callchain_node *cnode; in do_test()
225 cnode = rb_entry(rb_first(root), struct callchain_node, rb_node); in do_test()
/tools/perf/
Dbuiltin-sched.c2762 static size_t callchain__fprintf_folded(FILE *fp, struct callchain_node *node) in callchain__fprintf_folded()
2794 struct callchain_node *chain; in timehist_print_idlehist_callchain()
2802 chain = rb_entry(rb_node, struct callchain_node, rb_node); in timehist_print_idlehist_callchain()