Lines Matching full:he

97 	struct hist_entry *he;  in del_hist_entries()  local
112 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries()
114 rb_erase_cached(&he->rb_node_in, root_in); in del_hist_entries()
115 hist_entry__delete(he); in del_hist_entries()
131 #define COMM(he) (thread__comm_str(he->thread)) argument
132 #define DSO(he) (dso__short_name(map__dso(he->ms.map))) argument
133 #define SYM(he) (he->ms.sym->name) argument
134 #define CPU(he) (he->cpu) argument
135 #define PID(he) (thread__tid(he->thread)) argument
142 struct hist_entry *he; in test1() local
180 he = rb_entry(node, struct hist_entry, rb_node); in test1()
182 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1()
183 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1()
186 he = rb_entry(node, struct hist_entry, rb_node); in test1()
188 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test1()
189 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
192 he = rb_entry(node, struct hist_entry, rb_node); in test1()
194 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
195 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1()
198 he = rb_entry(node, struct hist_entry, rb_node); in test1()
200 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
201 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1()
204 he = rb_entry(node, struct hist_entry, rb_node); in test1()
206 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test1()
207 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
210 he = rb_entry(node, struct hist_entry, rb_node); in test1()
212 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test1()
213 !strcmp(SYM(he), "schedule") && he->stat.period == 100); in test1()
216 he = rb_entry(node, struct hist_entry, rb_node); in test1()
218 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1()
219 !strcmp(SYM(he), "free") && he->stat.period == 100); in test1()
222 he = rb_entry(node, struct hist_entry, rb_node); in test1()
224 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1()
225 !strcmp(SYM(he), "malloc") && he->stat.period == 100); in test1()
228 he = rb_entry(node, struct hist_entry, rb_node); in test1()
230 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1()
231 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); in test1()
244 struct hist_entry *he; in test2() local
280 he = rb_entry(node, struct hist_entry, rb_node); in test2()
282 CPU(he) == 1 && PID(he) == 100 && he->stat.period == 300); in test2()
285 he = rb_entry(node, struct hist_entry, rb_node); in test2()
287 CPU(he) == 0 && PID(he) == 100 && he->stat.period == 100); in test2()
300 struct hist_entry *he; in test3() local
334 he = rb_entry(node, struct hist_entry, rb_node); in test3()
336 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test3()
337 he->stat.period == 200); in test3()
340 he = rb_entry(node, struct hist_entry, rb_node); in test3()
342 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test3()
343 he->stat.period == 100); in test3()
346 he = rb_entry(node, struct hist_entry, rb_node); in test3()
348 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test3()
349 he->stat.period == 300); in test3()
352 he = rb_entry(node, struct hist_entry, rb_node); in test3()
354 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test3()
355 he->stat.period == 200); in test3()
358 he = rb_entry(node, struct hist_entry, rb_node); in test3()
360 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test3()
361 he->stat.period == 200); in test3()
374 struct hist_entry *he; in test4() local
412 he = rb_entry(node, struct hist_entry, rb_node); in test4()
414 !strcmp(DSO(he), "perf") && !strcmp(SYM(he), "cmd_record") && in test4()
415 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
418 he = rb_entry(node, struct hist_entry, rb_node); in test4()
420 !strcmp(DSO(he), "libc") && !strcmp(SYM(he), "free") && in test4()
421 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
424 he = rb_entry(node, struct hist_entry, rb_node); in test4()
426 !strcmp(DSO(he), "bash") && !strcmp(SYM(he), "main") && in test4()
427 !strcmp(COMM(he), "bash") && he->stat.period == 100); in test4()
430 he = rb_entry(node, struct hist_entry, rb_node); in test4()
432 !strcmp(DSO(he), "perf") && !strcmp(SYM(he), "main") && in test4()
433 !strcmp(COMM(he), "perf") && he->stat.period == 200); in test4()
436 he = rb_entry(node, struct hist_entry, rb_node); in test4()
438 !strcmp(DSO(he), "libc") && !strcmp(SYM(he), "malloc") && in test4()
439 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
442 he = rb_entry(node, struct hist_entry, rb_node); in test4()
444 !strcmp(DSO(he), "[kernel]") && !strcmp(SYM(he), "page_fault") && in test4()
445 !strcmp(COMM(he), "bash") && he->stat.period == 100); in test4()
448 he = rb_entry(node, struct hist_entry, rb_node); in test4()
450 !strcmp(DSO(he), "[kernel]") && !strcmp(SYM(he), "page_fault") && in test4()
451 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
454 he = rb_entry(node, struct hist_entry, rb_node); in test4()
456 !strcmp(DSO(he), "[kernel]") && !strcmp(SYM(he), "schedule") && in test4()
457 !strcmp(COMM(he), "perf") && he->stat.period == 100); in test4()
460 he = rb_entry(node, struct hist_entry, rb_node); in test4()
462 !strcmp(DSO(he), "bash") && !strcmp(SYM(he), "xmalloc") && in test4()
463 !strcmp(COMM(he), "bash") && he->stat.period == 100); in test4()
476 struct hist_entry *he; in test5() local
515 he = rb_entry(node, struct hist_entry, rb_node); in test5()
518 CPU(he) == 0 && PID(he) == 100 && in test5()
519 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test5()
520 !strcmp(SYM(he), "schedule") && he->stat.period == 100); in test5()
523 he = rb_entry(node, struct hist_entry, rb_node); in test5()
525 CPU(he) == 2 && PID(he) == 200 && in test5()
526 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test5()
527 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test5()
530 he = rb_entry(node, struct hist_entry, rb_node); in test5()
532 CPU(he) == 1 && PID(he) == 300 && in test5()
533 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test5()
534 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test5()
537 he = rb_entry(node, struct hist_entry, rb_node); in test5()
539 CPU(he) == 0 && PID(he) == 300 && in test5()
540 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test5()
541 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test5()
544 he = rb_entry(node, struct hist_entry, rb_node); in test5()
546 CPU(he) == 3 && PID(he) == 300 && in test5()
547 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test5()
548 !strcmp(SYM(he), "main") && he->stat.period == 100); in test5()
551 he = rb_entry(node, struct hist_entry, rb_node); in test5()
553 CPU(he) == 1 && PID(he) == 100 && in test5()
554 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test5()
555 !strcmp(SYM(he), "malloc") && he->stat.period == 100); in test5()
558 he = rb_entry(node, struct hist_entry, rb_node); in test5()
560 CPU(he) == 2 && PID(he) == 100 && in test5()
561 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test5()
562 !strcmp(SYM(he), "free") && he->stat.period == 100); in test5()
565 he = rb_entry(node, struct hist_entry, rb_node); in test5()
567 CPU(he) == 1 && PID(he) == 100 && in test5()
568 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test5()
569 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); in test5()
572 he = rb_entry(node, struct hist_entry, rb_node); in test5()
574 CPU(he) == 1 && PID(he) == 100 && in test5()
575 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test5()
576 !strcmp(SYM(he), "main") && he->stat.period == 100); in test5()
579 he = rb_entry(node, struct hist_entry, rb_node); in test5()
581 CPU(he) == 2 && PID(he) == 200 && in test5()
582 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test5()
583 !strcmp(SYM(he), "main") && he->stat.period == 100); in test5()