Home
last modified time | relevance | path

Searched refs:cnode (Results 1 – 10 of 10) sorted by relevance

/tools/perf/util/
Dstream.c71 struct callchain_node *cnode) in evsel_streams__set_hot_cnode() argument
78 es->streams[i].cnode = cnode; in evsel_streams__set_hot_cnode()
87 hit = (es->streams[0].cnode)->hit; in evsel_streams__set_hot_cnode()
89 if ((es->streams[i].cnode)->hit < hit) { in evsel_streams__set_hot_cnode()
90 hit = (es->streams[i].cnode)->hit; in evsel_streams__set_hot_cnode()
95 if (cnode->hit > hit) in evsel_streams__set_hot_cnode()
96 es->streams[idx].cnode = cnode; in evsel_streams__set_hot_cnode()
104 struct callchain_node *cnode; in update_hot_callchain() local
107 cnode = rb_entry(rb_node, struct callchain_node, rb_node); in update_hot_callchain()
108 evsel_streams__set_hot_cnode(es, cnode); in update_hot_callchain()
[all …]
Dcallchain.c720 struct callchain_list *cnode) in match_chain() argument
726 match = match_chain_strings(cnode->srcline, node->srcline); in match_chain()
732 if (node->ms.sym && cnode->ms.sym) { in match_chain()
739 if (cnode->ms.sym->inlined || node->ms.sym->inlined) { in match_chain()
740 match = match_chain_strings(cnode->ms.sym->name, in match_chain()
745 match = match_chain_dso_addresses(cnode->ms.map, cnode->ms.sym->start, in match_chain()
754 match = match_chain_dso_addresses(cnode->ms.map, cnode->ip, node->ms.map, node->ip); in match_chain()
759 cnode->branch_count++; in match_chain()
765 cnode->brtype_stat.branch_to = true; in match_chain()
768 cnode->predicted_count++; in match_chain()
[all …]
Dstream.h8 struct callchain_node *cnode; member
Dcallchain.h312 s64 callchain_avg_cycles(struct callchain_node *cnode);
Dmachine.c2651 struct callchain_cursor_node *cnode; in lbr_callchain_add_stitched_lbr_ip() local
2656 cnode = &stitch_node->cursor; in lbr_callchain_add_stitched_lbr_ip()
2658 err = callchain_cursor_append(cursor, cnode->ip, in lbr_callchain_add_stitched_lbr_ip()
2659 &cnode->ms, in lbr_callchain_add_stitched_lbr_ip()
2660 cnode->branch, in lbr_callchain_add_stitched_lbr_ip()
2661 &cnode->branch_flags, in lbr_callchain_add_stitched_lbr_ip()
2662 cnode->nr_loop_iter, in lbr_callchain_add_stitched_lbr_ip()
2663 cnode->iter_cycles, in lbr_callchain_add_stitched_lbr_ip()
2664 cnode->branch_from, in lbr_callchain_add_stitched_lbr_ip()
2665 cnode->srcline); in lbr_callchain_add_stitched_lbr_ip()
/tools/bootconfig/
Dmain.c39 struct xbc_node *node, *cnode = NULL, *vnode; in xbc_show_compact_tree() local
46 if (!cnode) in xbc_show_compact_tree()
47 cnode = xbc_node_get_child(node); in xbc_show_compact_tree()
48 while (cnode && xbc_node_is_key(cnode) && !cnode->next) { in xbc_show_compact_tree()
49 vnode = xbc_node_get_child(cnode); in xbc_show_compact_tree()
64 node = cnode; in xbc_show_compact_tree()
65 cnode = vnode; in xbc_show_compact_tree()
67 if (cnode && xbc_node_is_key(cnode)) { in xbc_show_compact_tree()
70 node = cnode; in xbc_show_compact_tree()
71 cnode = NULL; in xbc_show_compact_tree()
[all …]
/tools/perf/scripts/python/
Dcompaction-times.py69 class cnode: class
110 val = cnode(0);
162 self.val = cnode(0)
173 self.pending = cnode(ns(secs, nsecs))
/tools/perf/ui/stdio/
Dhist.c208 struct callchain_node *cnode; in need_percent_display() local
213 cnode = rb_entry(node, struct callchain_node, rb_node); in need_percent_display()
214 return callchain_cumul_hits(cnode) != parent_samples; in need_percent_display()
221 struct callchain_node *cnode; in callchain__fprintf_graph() local
232 cnode = rb_entry(node, struct callchain_node, rb_node); in callchain__fprintf_graph()
233 list_for_each_entry(chain, &cnode->val, list) { in callchain__fprintf_graph()
266 root = &cnode->rb_root; in callchain__fprintf_graph()
/tools/perf/tests/
Dhists_cumulate.c198 struct callchain_node *cnode; in do_test() local
238 cnode = rb_entry(rb_first(root), struct callchain_node, rb_node); in do_test()
241 list_for_each_entry(clist, &cnode->val, list) { in do_test()
/tools/power/pm-graph/
Dsleepgraph.py2061 cnode = self.masterTopology(cname, clist, depth+1)
2062 node.children.append(cnode)
2083 for cnode in node.children:
2084 html += self.printTopology(cnode)