Lines Matching refs:notes

383 	struct annotation *notes = symbol__annotation(sym);  in annotate_browser__calc_percent()  local
389 pthread_mutex_lock(&notes->lock); in annotate_browser__calc_percent()
391 list_for_each_entry(pos, &notes->src->source, node) { in annotate_browser__calc_percent()
402 next = disasm__get_next_ip_line(&notes->src->source, pos); in annotate_browser__calc_percent()
407 bpos->samples[i].percent = disasm__calc_percent(notes, in annotate_browser__calc_percent()
425 pthread_mutex_unlock(&notes->lock); in annotate_browser__calc_percent()
489 struct annotation *notes; in annotate_browser__callq() local
507 notes = symbol__annotation(target.sym); in annotate_browser__callq()
508 pthread_mutex_lock(&notes->lock); in annotate_browser__callq()
510 if (notes->src == NULL && symbol__alloc_hist(target.sym) < 0) { in annotate_browser__callq()
511 pthread_mutex_unlock(&notes->lock); in annotate_browser__callq()
517 pthread_mutex_unlock(&notes->lock); in annotate_browser__callq()
530 struct annotation *notes = symbol__annotation(sym); in annotate_browser__find_offset() local
534 list_for_each_entry(pos, &notes->src->source, node) { in annotate_browser__find_offset()
569 struct annotation *notes = symbol__annotation(sym); in annotate_browser__find_string() local
573 list_for_each_entry_continue(pos, &notes->src->source, node) { in annotate_browser__find_string()
608 struct annotation *notes = symbol__annotation(sym); in annotate_browser__find_string_reverse() local
612 list_for_each_entry_continue_reverse(pos, &notes->src->source, node) { in annotate_browser__find_string_reverse()
942 struct annotation *notes = symbol__annotation(sym); in annotate__compute_ipc() local
944 if (!notes->src || !notes->src->cycles_hist) in annotate__compute_ipc()
947 pthread_mutex_lock(&notes->lock); in annotate__compute_ipc()
951 ch = &notes->src->cycles_hist[offset]; in annotate__compute_ipc()
963 pthread_mutex_unlock(&notes->lock); in annotate__compute_ipc()
1014 struct annotation *notes; in symbol__tui_annotate() local
1061 notes = symbol__annotation(sym); in symbol__tui_annotate()
1064 list_for_each_entry(pos, &notes->src->source, node) { in symbol__tui_annotate()
1095 browser.b.entries = &notes->src->source, in symbol__tui_annotate()
1104 list_for_each_entry_safe(pos, n, &notes->src->source, node) { in symbol__tui_annotate()