Lines Matching refs:sym
203 if (!left->ms.sym && !right->ms.sym) in sort__sym_cmp()
216 return _sort__sym_cmp(left->ms.sym, right->ms.sym); in sort__sym_cmp()
222 if (!left->ms.sym || !right->ms.sym) in sort__sym_sort()
223 return cmp_null(left->ms.sym, right->ms.sym); in sort__sym_sort()
225 return strcmp(right->ms.sym->name, left->ms.sym->name); in sort__sym_sort()
228 static int _hist_entry__sym_snprintf(struct map *map, struct symbol *sym, in _hist_entry__sym_snprintf() argument
241 if (sym && map) { in _hist_entry__sym_snprintf()
243 ret += repsep_snprintf(bf + ret, size - ret, "%s", sym->name); in _hist_entry__sym_snprintf()
245 ip - map->unmap_ip(map, sym->start)); in _hist_entry__sym_snprintf()
251 sym->name); in _hist_entry__sym_snprintf()
270 return _hist_entry__sym_snprintf(he->ms.map, he->ms.sym, he->ip, in hist_entry__sym_snprintf()
294 left->ms.sym, true); in sort__srcline_cmp()
304 right->ms.sym, true); in sort__srcline_cmp()
333 e->ms.sym, false, true); in get_srcfile()
500 if (!from_l->sym && !from_r->sym) in sort__sym_from_cmp()
503 return _sort__sym_cmp(from_l->sym, from_r->sym); in sort__sym_from_cmp()
517 if (!to_l->sym && !to_r->sym) in sort__sym_to_cmp()
520 return _sort__sym_cmp(to_l->sym, to_r->sym); in sort__sym_to_cmp()
529 return _hist_entry__sym_snprintf(from->map, from->sym, from->addr, in hist_entry__sym_from_snprintf()
542 return _hist_entry__sym_snprintf(to->map, to->sym, to->addr, in hist_entry__sym_to_snprintf()
646 struct symbol *sym = NULL; in hist_entry__daddr_snprintf() local
651 sym = he->mem_info->daddr.sym; in hist_entry__daddr_snprintf()
653 return _hist_entry__sym_snprintf(map, sym, addr, he->level, bf, size, in hist_entry__daddr_snprintf()
675 struct symbol *sym = NULL; in hist_entry__iaddr_snprintf() local
680 sym = he->mem_info->iaddr.sym; in hist_entry__iaddr_snprintf()
682 return _hist_entry__sym_snprintf(map, sym, addr, he->level, bf, size, in hist_entry__iaddr_snprintf()
1030 struct symbol *sym = NULL; in hist_entry__dcacheline_snprintf() local
1036 sym = he->mem_info->daddr.sym; in hist_entry__dcacheline_snprintf()
1048 return _hist_entry__sym_snprintf(map, sym, addr, level, bf, size, in hist_entry__dcacheline_snprintf()