Lines Matching refs:sym

200 static bool disasm_line__is_valid_jump(struct disasm_line *dl, struct symbol *sym)
204 || dl->ops.target.offset >= symbol__size(sym))
217 struct symbol *sym = ms->sym;
221 if (strstr(sym->name, "@plt"))
224 if (!disasm_line__is_valid_jump(cursor, sym))
341 struct symbol *sym = ms->sym;
342 struct annotation *notes = symbol__annotation(sym);
344 s64 len = symbol__size(sym);
433 static int sym_title(struct symbol *sym, struct map *map, char *title,
436 return snprintf(title, sz, "%s %s", sym->name, map->dso->long_name);
445 struct symbol *sym = ms->sym;
473 sym_title(sym, ms->map, title, sizeof(title));
483 struct symbol *sym = ms->sym;
484 struct annotation *notes = symbol__annotation(sym);
522 struct symbol *sym = ms->sym;
523 struct annotation *notes = symbol__annotation(sym);
561 struct symbol *sym = ms->sym;
562 struct annotation *notes = symbol__annotation(sym);
662 struct symbol *sym = ms->sym;
668 sym_title(sym, ms->map, title, sizeof(title));
701 symbol__annotate_decay_histogram(sym, evsel->idx);
823 return symbol__tui_annotate(he->ms.sym, he->ms.map, evsel, hbt);
831 struct symbol *sym = ms->sym;
834 if (strstr(sym->name, "@plt"))
841 if (!disasm_line__is_valid_jump(dl, sym))
870 int symbol__tui_annotate(struct symbol *sym, struct map *map,
879 .sym = sym,
895 if (sym == NULL)
898 size = symbol__size(sym);
914 if (symbol__annotate(sym, map, sizeof_bdl) < 0) {
921 notes = symbol__annotation(sym);
922 browser.start = map__rip_2objdump(map, sym->start);
950 browser.max_addr_width = hex_width(sym->end);