Lines Matching refs:he
128 struct hist_entry *he; in del_hist_entries() local
143 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
145 rb_erase_cached(&he->rb_node_in, root_in); in del_hist_entries()
146 hist_entry__delete(he); in del_hist_entries()
152 #define COMM(he) (thread__comm_str(he->thread)) argument
153 #define DSO(he) (he->ms.map->dso->short_name) argument
154 #define SYM(he) (he->ms.sym->name) argument
155 #define CPU(he) (he->cpu) argument
156 #define PID(he) (he->thread->tid) argument
157 #define DEPTH(he) (he->callchain->max_depth) argument
182 struct hist_entry *he; in do_test() local
204 node && (he = rb_entry(node, struct hist_entry, rb_node)); in do_test()
210 TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self && in do_test()
211 !strcmp(COMM(he), expected[i].comm) && in do_test()
212 !strcmp(DSO(he), expected[i].dso) && in do_test()
213 !strcmp(SYM(he), expected[i].sym)); in do_test()
216 TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children); in do_test()
222 root = &he->callchain->node.rb_root; in do_test()