• Home
  • Raw
  • Download

Lines Matching refs:he

91 	struct hist_entry *he;  in del_hist_entries()  local
106 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
108 rb_erase(&he->rb_node_in, root_in); in del_hist_entries()
109 hist_entry__free(he); in del_hist_entries()
115 #define COMM(he) (thread__comm_str(he->thread)) argument
116 #define DSO(he) (he->ms.map->dso->short_name) argument
117 #define SYM(he) (he->ms.sym->name) argument
118 #define CPU(he) (he->cpu) argument
119 #define PID(he) (he->thread->tid) argument
126 struct hist_entry *he; in test1() local
164 he = rb_entry(node, struct hist_entry, rb_node); in test1()
166 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1()
167 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1()
170 he = rb_entry(node, struct hist_entry, rb_node); in test1()
172 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test1()
173 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
176 he = rb_entry(node, struct hist_entry, rb_node); in test1()
178 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
179 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1()
182 he = rb_entry(node, struct hist_entry, rb_node); in test1()
184 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
185 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1()
188 he = rb_entry(node, struct hist_entry, rb_node); in test1()
190 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test1()
191 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
194 he = rb_entry(node, struct hist_entry, rb_node); in test1()
196 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test1()
197 !strcmp(SYM(he), "schedule") && he->stat.period == 100); in test1()
200 he = rb_entry(node, struct hist_entry, rb_node); in test1()
202 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1()
203 !strcmp(SYM(he), "free") && he->stat.period == 100); in test1()
206 he = rb_entry(node, struct hist_entry, rb_node); in test1()
208 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1()
209 !strcmp(SYM(he), "malloc") && he->stat.period == 100); in test1()
212 he = rb_entry(node, struct hist_entry, rb_node); in test1()
214 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1()
215 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); in test1()
228 struct hist_entry *he; in test2() local
264 he = rb_entry(node, struct hist_entry, rb_node); in test2()
266 CPU(he) == 1 && PID(he) == 100 && he->stat.period == 300); in test2()
269 he = rb_entry(node, struct hist_entry, rb_node); in test2()
271 CPU(he) == 0 && PID(he) == 100 && he->stat.period == 100); in test2()
284 struct hist_entry *he; in test3() local
318 he = rb_entry(node, struct hist_entry, rb_node); in test3()
320 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test3()
321 he->stat.period == 200); in test3()
324 he = rb_entry(node, struct hist_entry, rb_node); in test3()
326 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test3()
327 he->stat.period == 100); in test3()
330 he = rb_entry(node, struct hist_entry, rb_node); in test3()
332 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test3()
333 he->stat.period == 300); in test3()
336 he = rb_entry(node, struct hist_entry, rb_node); in test3()
338 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test3()
339 he->stat.period == 200); in test3()
342 he = rb_entry(node, struct hist_entry, rb_node); in test3()
344 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test3()
345 he->stat.period == 200); in test3()
358 struct hist_entry *he; in test4() local
396 he = rb_entry(node, struct hist_entry, rb_node); in test4()
398 !strcmp(DSO(he), "perf") && !strcmp(SYM(he), "cmd_record") && in test4()
399 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
402 he = rb_entry(node, struct hist_entry, rb_node); in test4()
404 !strcmp(DSO(he), "libc") && !strcmp(SYM(he), "free") && in test4()
405 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
408 he = rb_entry(node, struct hist_entry, rb_node); in test4()
410 !strcmp(DSO(he), "bash") && !strcmp(SYM(he), "main") && in test4()
411 !strcmp(COMM(he), "bash") && he->stat.period == 100); in test4()
414 he = rb_entry(node, struct hist_entry, rb_node); in test4()
416 !strcmp(DSO(he), "perf") && !strcmp(SYM(he), "main") && in test4()
417 !strcmp(COMM(he), "perf") && he->stat.period == 200); in test4()
420 he = rb_entry(node, struct hist_entry, rb_node); in test4()
422 !strcmp(DSO(he), "libc") && !strcmp(SYM(he), "malloc") && in test4()
423 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
426 he = rb_entry(node, struct hist_entry, rb_node); in test4()
428 !strcmp(DSO(he), "[kernel]") && !strcmp(SYM(he), "page_fault") && in test4()
429 !strcmp(COMM(he), "bash") && he->stat.period == 100); in test4()
432 he = rb_entry(node, struct hist_entry, rb_node); in test4()
434 !strcmp(DSO(he), "[kernel]") && !strcmp(SYM(he), "page_fault") && in test4()
435 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
438 he = rb_entry(node, struct hist_entry, rb_node); in test4()
440 !strcmp(DSO(he), "[kernel]") && !strcmp(SYM(he), "schedule") && in test4()
441 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
444 he = rb_entry(node, struct hist_entry, rb_node); in test4()
446 !strcmp(DSO(he), "bash") && !strcmp(SYM(he), "xmalloc") && in test4()
447 !strcmp(COMM(he), "bash") && he->stat.period == 100); in test4()
460 struct hist_entry *he; in test5() local
499 he = rb_entry(node, struct hist_entry, rb_node); in test5()
502 CPU(he) == 0 && PID(he) == 100 && in test5()
503 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test5()
504 !strcmp(SYM(he), "schedule") && he->stat.period == 100); in test5()
507 he = rb_entry(node, struct hist_entry, rb_node); in test5()
509 CPU(he) == 2 && PID(he) == 200 && in test5()
510 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test5()
511 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test5()
514 he = rb_entry(node, struct hist_entry, rb_node); in test5()
516 CPU(he) == 1 && PID(he) == 300 && in test5()
517 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test5()
518 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test5()
521 he = rb_entry(node, struct hist_entry, rb_node); in test5()
523 CPU(he) == 0 && PID(he) == 300 && in test5()
524 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test5()
525 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test5()
528 he = rb_entry(node, struct hist_entry, rb_node); in test5()
530 CPU(he) == 3 && PID(he) == 300 && in test5()
531 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test5()
532 !strcmp(SYM(he), "main") && he->stat.period == 100); in test5()
535 he = rb_entry(node, struct hist_entry, rb_node); in test5()
537 CPU(he) == 1 && PID(he) == 100 && in test5()
538 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test5()
539 !strcmp(SYM(he), "malloc") && he->stat.period == 100); in test5()
542 he = rb_entry(node, struct hist_entry, rb_node); in test5()
544 CPU(he) == 2 && PID(he) == 100 && in test5()
545 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test5()
546 !strcmp(SYM(he), "free") && he->stat.period == 100); in test5()
549 he = rb_entry(node, struct hist_entry, rb_node); in test5()
551 CPU(he) == 1 && PID(he) == 100 && in test5()
552 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test5()
553 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); in test5()
556 he = rb_entry(node, struct hist_entry, rb_node); in test5()
558 CPU(he) == 1 && PID(he) == 100 && in test5()
559 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test5()
560 !strcmp(SYM(he), "main") && he->stat.period == 100); in test5()
563 he = rb_entry(node, struct hist_entry, rb_node); in test5()
565 CPU(he) == 2 && PID(he) == 200 && in test5()
566 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test5()
567 !strcmp(SYM(he), "main") && he->stat.period == 100); in test5()