Lines Matching full:notes
43 struct annotation *notes = browser__annotation(browser); in disasm_line__filter() local
45 return annotation_line__filter(al, notes); in disasm_line__filter()
50 struct annotation *notes = browser__annotation(browser); in ui_browser__jumps_percent_color() local
54 if (nr == notes->max_jump_sources) in ui_browser__jumps_percent_color()
94 struct annotation *notes = browser__annotation(browser); in annotate_browser__write() local
100 .change_color = (!notes->options->hide_src_code && in annotate_browser__write()
117 annotation_line__write(al, notes, &ops, ab->opts); in annotate_browser__write()
159 struct annotation *notes = symbol__annotation(sym); in annotate_browser__draw_current_jump() local
160 u8 pcnt_width = annotation__pcnt_width(notes); in annotate_browser__draw_current_jump()
191 target = notes->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
193 ui_helpline__printf("WARN: jump target inconsistency, press 'o', notes->offsets[%#x] = NULL\n", in annotate_browser__draw_current_jump()
198 if (notes->options->hide_src_code) { in annotate_browser__draw_current_jump()
206 width = annotation__cycles_width(notes); in annotate_browser__draw_current_jump()
210 pcnt_width + 2 + notes->widths.addr + width, in annotate_browser__draw_current_jump()
216 pcnt_width + 3 + notes->widths.addr + width, in annotate_browser__draw_current_jump()
223 struct annotation *notes = browser__annotation(browser); in annotate_browser__refresh() local
225 int pcnt_width = annotation__pcnt_width(notes); in annotate_browser__refresh()
227 if (notes->options->jump_arrows) in annotate_browser__refresh()
273 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__set_top() local
283 if (annotation_line__filter(pos, notes)) in annotate_browser__set_top()
297 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__set_rb_top() local
301 if (notes->options->hide_src_code) in annotate_browser__set_rb_top()
312 struct annotation *notes = symbol__annotation(sym); in annotate_browser__calc_percent() local
317 mutex_lock(¬es->lock); in annotate_browser__calc_percent()
321 list_for_each_entry(pos, ¬es->src->source, al.node) { in annotate_browser__calc_percent()
346 mutex_unlock(¬es->lock); in annotate_browser__calc_percent()
376 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__toggle_source() local
383 if (notes->options->hide_src_code) { in annotate_browser__toggle_source()
387 browser->b.nr_entries = notes->nr_entries; in annotate_browser__toggle_source()
388 notes->options->hide_src_code = false; in annotate_browser__toggle_source()
405 browser->b.nr_entries = notes->nr_asm_entries; in annotate_browser__toggle_source()
406 notes->options->hide_src_code = true; in annotate_browser__toggle_source()
436 struct annotation *notes = browser__annotation(browser); in ui_browser__init_asm_mode() local
438 browser->nr_entries = notes->nr_asm_entries; in ui_browser__init_asm_mode()
463 struct annotation *notes; in annotate_browser__callq() local
471 notes = symbol__annotation(dl->ops.target.sym); in annotate_browser__callq()
472 mutex_lock(¬es->lock); in annotate_browser__callq()
475 mutex_unlock(¬es->lock); in annotate_browser__callq()
484 mutex_unlock(¬es->lock); in annotate_browser__callq()
495 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_offset() local
499 list_for_each_entry(pos, ¬es->src->source, al.node) { in annotate_browser__find_offset()
502 if (!annotation_line__filter(&pos->al, notes)) in annotate_browser__find_offset()
541 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string() local
545 list_for_each_entry_continue(al, ¬es->src->source, node) { in annotate_browser__find_string()
546 if (annotation_line__filter(al, notes)) in annotate_browser__find_string()
578 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string_reverse() local
582 list_for_each_entry_continue_reverse(al, ¬es->src->source, node) { in annotate_browser__find_string_reverse()
583 if (annotation_line__filter(al, notes)) in annotate_browser__find_string_reverse()
718 struct annotation *notes = symbol__annotation(ms->sym); in annotate_browser__run() local
811 notes->options->show_linenr = !notes->options->show_linenr; in annotate_browser__run()
824 notes->options->use_offset = !notes->options->use_offset; in annotate_browser__run()
825 annotation__update_column_widths(notes); in annotate_browser__run()
828 if (++notes->options->offset_level > ANNOTATION__MAX_OFFSET_LEVEL) in annotate_browser__run()
829 notes->options->offset_level = ANNOTATION__MIN_OFFSET_LEVEL; in annotate_browser__run()
832 notes->options->jump_arrows = !notes->options->jump_arrows; in annotate_browser__run()
835 notes->options->show_nr_jumps = !notes->options->show_nr_jumps; in annotate_browser__run()
836 annotation__update_column_widths(notes); in annotate_browser__run()
862 notes->nr_asm_entries); in annotate_browser__run()
896 annotation__update_column_widths(notes); in annotate_browser__run()
899 if (notes->options->show_minmax_cycle) in annotate_browser__run()
900 notes->options->show_minmax_cycle = false; in annotate_browser__run()
902 notes->options->show_minmax_cycle = true; in annotate_browser__run()
903 annotation__update_column_widths(notes); in annotate_browser__run()
912 annotation__toggle_full_addr(notes, ms); in annotate_browser__run()
954 struct annotation *notes = symbol__annotation(sym); in symbol__tui_annotate() local
968 int not_annotated = list_empty(¬es->src->source); in symbol__tui_annotate()
989 browser.b.width = notes->max_line_len; in symbol__tui_annotate()
990 browser.b.nr_entries = notes->nr_entries; in symbol__tui_annotate()
991 browser.b.entries = ¬es->src->source, in symbol__tui_annotate()
994 if (notes->options->hide_src_code) in symbol__tui_annotate()
1000 annotated_source__purge(notes->src); in symbol__tui_annotate()
1004 zfree(¬es->offsets); in symbol__tui_annotate()