Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dcallchain.c379 rb_insert_callchain(struct rb_root *root, struct callchain_node *chain, in rb_insert_callchain()
384 struct callchain_node *rnode; in rb_insert_callchain()
391 rnode = rb_entry(parent, struct callchain_node, rb_node); in rb_insert_callchain()
420 __sort_chain_flat(struct rb_root *rb_root, struct callchain_node *node, in __sort_chain_flat()
424 struct callchain_node *child; in __sort_chain_flat()
428 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_flat()
450 static void __sort_chain_graph_abs(struct callchain_node *node, in __sort_chain_graph_abs()
454 struct callchain_node *child; in __sort_chain_graph_abs()
460 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_graph_abs()
478 static void __sort_chain_graph_rel(struct callchain_node *node, in __sort_chain_graph_rel()
[all …]
H A Dcallchain.h60 struct callchain_node { struct
61 struct callchain_node *parent; argument
77 struct callchain_node node; argument
183 static inline u64 callchain_cumul_hits(struct callchain_node *node) in callchain_cumul_hits()
188 static inline unsigned callchain_cumul_counts(struct callchain_node *node) in callchain_cumul_counts()
289 char *callchain_node__scnprintf_value(struct callchain_node *node,
291 int callchain_node__fprintf_value(struct callchain_node *node,
299 int callchain_node__make_parent_list(struct callchain_node *node);
307 bool callchain_cnode_matched(struct callchain_node *base_cnode,
308 struct callchain_node *pair_cnode);
[all …]
H A 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()
H A Dstream.h8 struct callchain_node *cnode;
9 struct callchain_node *pair_cnode;
/linux/tools/perf/ui/stdio/
H A 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 …]
/linux/tools/perf/ui/browsers/
H A Dhists.c177 static int callchain_node__count_rows_rb_tree(struct callchain_node *node) in callchain_node__count_rows_rb_tree()
183 struct callchain_node *child = rb_entry(nd, struct callchain_node, rb_node); in callchain_node__count_rows_rb_tree()
203 static int callchain_node__count_flat_rows(struct callchain_node *node) in callchain_node__count_flat_rows()
232 static int callchain_node__count_folded_rows(struct callchain_node *node __maybe_unused) in callchain_node__count_folded_rows()
237 static int callchain_node__count_rows(struct callchain_node *node) in callchain_node__count_rows()
266 struct callchain_node *node = rb_entry(nd, struct callchain_node, rb_node); in callchain__count_rows()
329 static void callchain_node__init_have_children_rb_tree(struct callchain_node *node) in callchain_node__init_have_children_rb_tree()
334 struct callchain_node *child = rb_entry(nd, struct callchain_node, rb_node); in callchain_node__init_have_children_rb_tree()
352 static void callchain_node__init_have_children(struct callchain_node *node, in callchain_node__init_have_children()
374 struct callchain_node *node = rb_entry(nd, struct callchain_node, rb_node); in callchain__init_have_children()
[all …]
/linux/tools/perf/ui/gtk/
H A 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()
/linux/tools/perf/tests/
H A Dhists_cumulate.c198 struct callchain_node *cnode; in do_test()
238 cnode = rb_entry(rb_first(root), struct callchain_node, rb_node); in do_test()
/linux/tools/perf/
H A Dbuiltin-sched.c2957 static size_t callchain__fprintf_folded(FILE *fp, struct callchain_node *node) in callchain__fprintf_folded()
2989 struct callchain_node *chain; in timehist_print_idlehist_callchain()
2997 chain = rb_entry(rb_node, struct callchain_node, rb_node); in timehist_print_idlehist_callchain()