Lines Matching full:notes
73 struct annotation *notes = browser__annotation(browser); in ui_browser__jumps_percent_color() local
77 if (nr == notes->src->max_jump_sources) in ui_browser__jumps_percent_color()
117 struct annotation *notes = browser__annotation(browser); in annotate_browser__write() local
149 annotation_line__write(al, notes, &ops, &apd); in annotate_browser__write()
191 struct annotation *notes = symbol__annotation(sym); in annotate_browser__draw_current_jump() local
192 u8 pcnt_width = annotation__pcnt_width(notes); in annotate_browser__draw_current_jump()
224 target = annotated_source__get_line(notes->src, cursor->ops.target.offset); in annotate_browser__draw_current_jump()
226 ui_helpline__printf("WARN: jump target inconsistency, press 'o', notes->offsets[%#x] = NULL\n", in annotate_browser__draw_current_jump()
239 width = annotation__cycles_width(notes); in annotate_browser__draw_current_jump()
243 pcnt_width + 2 + notes->src->widths.addr + width + cntr_width, in annotate_browser__draw_current_jump()
249 pcnt_width + 3 + notes->src->widths.addr + width + cntr_width, in annotate_browser__draw_current_jump()
256 struct annotation *notes = browser__annotation(browser); in annotate_browser__refresh() local
258 int pcnt_width = annotation__pcnt_width(notes); in annotate_browser__refresh()
343 struct annotation *notes = symbol__annotation(sym); in annotate_browser__calc_percent() local
348 annotation__lock(notes); in annotate_browser__calc_percent()
352 list_for_each_entry(pos, ¬es->src->source, al.node) { in annotate_browser__calc_percent()
377 annotation__unlock(notes); in annotate_browser__calc_percent()
422 static bool annotation__has_source(struct annotation *notes) in annotation__has_source() argument
428 list_for_each_entry(al, ¬es->src->source, node) { in annotation__has_source()
437 list_for_each_entry_continue(al, ¬es->src->source, node) { in annotation__has_source()
448 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__toggle_source() local
463 if (annotate_opts.hide_src_code && !notes->src->tried_source) { in annotate_browser__toggle_source()
469 annotated_source__purge(notes->src); in annotate_browser__toggle_source()
474 notes->src->tried_source = true; in annotate_browser__toggle_source()
476 if (!annotation__has_source(notes)) in annotate_browser__toggle_source()
479 browser->b.entries = ¬es->src->source; in annotate_browser__toggle_source()
482 al = list_first_entry(¬es->src->source, in annotate_browser__toggle_source()
492 browser->b.nr_entries = notes->src->nr_entries; in annotate_browser__toggle_source()
510 browser->b.nr_entries = notes->src->nr_asm_entries; in annotate_browser__toggle_source()
544 struct annotation *notes = browser__annotation(browser); in ui_browser__init_asm_mode() local
546 browser->nr_entries = notes->src->nr_asm_entries; in ui_browser__init_asm_mode()
587 struct annotation *notes; in annotate_browser__callq() local
594 notes = symbol__annotation(dl->ops.target.sym); in annotate_browser__callq()
595 annotation__lock(notes); in annotate_browser__callq()
598 annotation__unlock(notes); in annotate_browser__callq()
607 annotation__unlock(notes); in annotate_browser__callq()
623 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_offset() local
627 list_for_each_entry(pos, ¬es->src->source, al.node) { in annotate_browser__find_offset()
669 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string() local
673 list_for_each_entry_continue(al, ¬es->src->source, node) { in annotate_browser__find_string()
706 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string_reverse() local
710 list_for_each_entry_continue_reverse(al, ¬es->src->source, node) { in annotate_browser__find_string_reverse()
863 struct annotation *notes = symbol__annotation(ms->sym); in annotate_browser__run() local
979 annotation__update_column_widths(notes); in annotate_browser__run()
990 annotation__update_column_widths(notes); in annotate_browser__run()
1016 notes->src->nr_asm_entries); in annotate_browser__run()
1050 annotation__update_column_widths(notes); in annotate_browser__run()
1057 annotation__update_column_widths(notes); in annotate_browser__run()
1074 annotation__toggle_full_addr(notes, ms); in annotate_browser__run()
1124 struct annotation *notes = symbol__annotation(sym); in __hist_entry__tui_annotate() local
1140 int not_annotated = list_empty(¬es->src->source); in __hist_entry__tui_annotate()
1160 notes->src->tried_source = true; in __hist_entry__tui_annotate()
1161 if (!annotation__has_source(notes)) in __hist_entry__tui_annotate()
1183 browser.b.width = notes->src->widths.max_line_len; in __hist_entry__tui_annotate()
1184 browser.b.nr_entries = notes->src->nr_entries; in __hist_entry__tui_annotate()
1185 browser.b.entries = ¬es->src->source; in __hist_entry__tui_annotate()
1204 if (not_annotated && !notes->src->tried_source) in __hist_entry__tui_annotate()
1205 annotated_source__purge(notes->src); in __hist_entry__tui_annotate()