Lines Matching refs:notes

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