Lines Matching refs:he
125 struct hist_entry *he; in del_hist_entries() local
140 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
142 rb_erase(&he->rb_node_in, root_in); in del_hist_entries()
143 hist_entry__free(he); in del_hist_entries()
149 #define COMM(he) (thread__comm_str(he->thread)) argument
150 #define DSO(he) (he->ms.map->dso->short_name) argument
151 #define SYM(he) (he->ms.sym->name) argument
152 #define CPU(he) (he->cpu) argument
153 #define PID(he) (he->thread->tid) argument
154 #define DEPTH(he) (he->callchain->max_depth) argument
179 struct hist_entry *he; in do_test() local
201 node && (he = rb_entry(node, struct hist_entry, rb_node)); in do_test()
207 TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self && in do_test()
208 !strcmp(COMM(he), expected[i].comm) && in do_test()
209 !strcmp(DSO(he), expected[i].dso) && in do_test()
210 !strcmp(SYM(he), expected[i].sym)); in do_test()
213 TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children); in do_test()
219 root = &he->callchain->node.rb_root; in do_test()