• Home
  • Raw
  • Download

Lines Matching refs:notes

48 	struct annotation *notes = browser__annotation(browser);  in disasm_line__filter()  local
50 return annotation_line__filter(al, notes); in disasm_line__filter()
55 struct annotation *notes = browser__annotation(browser); in ui_browser__jumps_percent_color() local
59 if (nr == notes->max_jump_sources) in ui_browser__jumps_percent_color()
99 struct annotation *notes = browser__annotation(browser); in annotate_browser__write() local
105 .change_color = (!notes->options->hide_src_code && in annotate_browser__write()
122 annotation_line__write(al, notes, &ops, ab->opts); in annotate_browser__write()
155 struct annotation *notes = symbol__annotation(sym); in annotate_browser__draw_current_jump() local
156 u8 pcnt_width = annotation__pcnt_width(notes); in annotate_browser__draw_current_jump()
186 target = notes->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
193 if (notes->options->hide_src_code) { in annotate_browser__draw_current_jump()
201 width = annotation__cycles_width(notes); in annotate_browser__draw_current_jump()
205 pcnt_width + 2 + notes->widths.addr + width, in annotate_browser__draw_current_jump()
210 pcnt_width + 3 + notes->widths.addr + width, in annotate_browser__draw_current_jump()
218 struct annotation *notes = browser__annotation(browser); in annotate_browser__refresh() local
220 int pcnt_width = annotation__pcnt_width(notes); in annotate_browser__refresh()
222 if (notes->options->jump_arrows) in annotate_browser__refresh()
268 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__set_top() local
278 if (annotation_line__filter(pos, notes)) in annotate_browser__set_top()
292 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__set_rb_top() local
296 if (notes->options->hide_src_code) in annotate_browser__set_rb_top()
307 struct annotation *notes = symbol__annotation(sym); in annotate_browser__calc_percent() local
312 pthread_mutex_lock(&notes->lock); in annotate_browser__calc_percent()
316 list_for_each_entry(pos, &notes->src->source, al.node) { in annotate_browser__calc_percent()
341 pthread_mutex_unlock(&notes->lock); in annotate_browser__calc_percent()
348 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__toggle_source() local
355 if (notes->options->hide_src_code) { in annotate_browser__toggle_source()
359 browser->b.nr_entries = notes->nr_entries; in annotate_browser__toggle_source()
360 notes->options->hide_src_code = false; in annotate_browser__toggle_source()
374 browser->b.nr_entries = notes->nr_asm_entries; in annotate_browser__toggle_source()
375 notes->options->hide_src_code = true; in annotate_browser__toggle_source()
386 struct annotation *notes = browser__annotation(browser); in ui_browser__init_asm_mode() local
388 browser->nr_entries = notes->nr_asm_entries; in ui_browser__init_asm_mode()
415 struct annotation *notes; in annotate_browser__callq() local
423 notes = symbol__annotation(dl->ops.target.sym); in annotate_browser__callq()
424 pthread_mutex_lock(&notes->lock); in annotate_browser__callq()
427 pthread_mutex_unlock(&notes->lock); in annotate_browser__callq()
436 pthread_mutex_unlock(&notes->lock); in annotate_browser__callq()
447 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_offset() local
451 list_for_each_entry(pos, &notes->src->source, al.node) { in annotate_browser__find_offset()
454 if (!annotation_line__filter(&pos->al, notes)) in annotate_browser__find_offset()
493 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string() local
497 list_for_each_entry_continue(al, &notes->src->source, node) { in annotate_browser__find_string()
498 if (annotation_line__filter(al, notes)) in annotate_browser__find_string()
530 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string_reverse() local
534 list_for_each_entry_continue_reverse(al, &notes->src->source, node) { in annotate_browser__find_string_reverse()
535 if (annotation_line__filter(al, notes)) in annotate_browser__find_string_reverse()
670 struct annotation *notes = symbol__annotation(ms->sym); in annotate_browser__run() local
761 notes->options->show_linenr = !notes->options->show_linenr; in annotate_browser__run()
771 notes->options->use_offset = !notes->options->use_offset; in annotate_browser__run()
772 annotation__update_column_widths(notes); in annotate_browser__run()
775 if (++notes->options->offset_level > ANNOTATION__MAX_OFFSET_LEVEL) in annotate_browser__run()
776 notes->options->offset_level = ANNOTATION__MIN_OFFSET_LEVEL; in annotate_browser__run()
779 notes->options->jump_arrows = !notes->options->jump_arrows; in annotate_browser__run()
782 notes->options->show_nr_jumps = !notes->options->show_nr_jumps; in annotate_browser__run()
783 annotation__update_column_widths(notes); in annotate_browser__run()
809 notes->nr_asm_entries); in annotate_browser__run()
843 annotation__update_column_widths(notes); in annotate_browser__run()
846 if (notes->options->show_minmax_cycle) in annotate_browser__run()
847 notes->options->show_minmax_cycle = false; in annotate_browser__run()
849 notes->options->show_minmax_cycle = true; in annotate_browser__run()
850 annotation__update_column_widths(notes); in annotate_browser__run()
898 struct annotation *notes = symbol__annotation(sym); in symbol__tui_annotate() local
929 browser.b.width = notes->max_line_len; in symbol__tui_annotate()
930 browser.b.nr_entries = notes->nr_entries; in symbol__tui_annotate()
931 browser.b.entries = &notes->src->source, in symbol__tui_annotate()
934 if (notes->options->hide_src_code) in symbol__tui_annotate()
939 annotated_source__purge(notes->src); in symbol__tui_annotate()
942 zfree(&notes->offsets); in symbol__tui_annotate()