Lines Matching refs:ms
293 return _sort__dso_cmp(right->ms.map, left->ms.map); in sort__dso_cmp()
311 return _hist_entry__dso_snprintf(he->ms.map, bf, size, width); in hist_entry__dso_snprintf()
321 return dso && (!he->ms.map || map__dso(he->ms.map) != dso); in hist_entry__dso_filter()
367 if (!left->ms.sym && !right->ms.sym) in sort__sym_cmp()
380 return _sort__sym_cmp(left->ms.sym, right->ms.sym); in sort__sym_cmp()
386 if (!left->ms.sym || !right->ms.sym) in sort__sym_sort()
387 return cmp_null(left->ms.sym, right->ms.sym); in sort__sym_sort()
389 return strcmp(right->ms.sym->name, left->ms.sym->name); in sort__sym_sort()
392 static int _hist_entry__sym_snprintf(struct map_symbol *ms, in _hist_entry__sym_snprintf() argument
396 struct symbol *sym = ms->sym; in _hist_entry__sym_snprintf()
397 struct map *map = ms->map; in _hist_entry__sym_snprintf()
437 return _hist_entry__sym_snprintf(&he->ms, he->ip, in hist_entry__sym_snprintf()
448 return sym && (!he->ms.sym || !strstr(he->ms.sym->name, sym)); in hist_entry__sym_filter()
489 struct symbol *sym = he->ms.sym; in hist_entry__symoff_snprintf()
510 return map__srcline(he->ms.map, he->ip, he->ms.sym); in hist_entry__srcline()
569 return map__srcline(ams->ms.map, ams->al_addr, ams->ms.sym); in addr_map_symbol__srcline()
670 struct symbol *sym = he->ms.sym; in hist_entry__sym_ipc_snprintf()
820 struct map *map = e->ms.map; in hist_entry__get_srcfile()
826 e->ms.sym, false, true, true, e->ip); in hist_entry__get_srcfile()
1019 struct cgroup *cgrp = cgroup__find(maps__machine(he->ms.maps)->env, in hist_entry__cgroup_snprintf()
1177 return _sort__dso_cmp(left->branch_info->from.ms.map, in sort__dso_from_cmp()
1178 right->branch_info->from.ms.map); in sort__dso_from_cmp()
1185 return _hist_entry__dso_snprintf(he->branch_info->from.ms.map, in hist_entry__dso_from_snprintf()
1199 return dso && (!he->branch_info || !he->branch_info->from.ms.map || in hist_entry__dso_from_filter()
1200 map__dso(he->branch_info->from.ms.map) != dso); in hist_entry__dso_from_filter()
1209 return _sort__dso_cmp(left->branch_info->to.ms.map, in sort__dso_to_cmp()
1210 right->branch_info->to.ms.map); in sort__dso_to_cmp()
1217 return _hist_entry__dso_snprintf(he->branch_info->to.ms.map, in hist_entry__dso_to_snprintf()
1231 return dso && (!he->branch_info || !he->branch_info->to.ms.map || in hist_entry__dso_to_filter()
1232 map__dso(he->branch_info->to.ms.map) != dso); in hist_entry__dso_to_filter()
1246 if (!from_l->ms.sym && !from_r->ms.sym) in sort__sym_from_cmp()
1249 return _sort__sym_cmp(from_l->ms.sym, from_r->ms.sym); in sort__sym_from_cmp()
1263 if (!to_l->ms.sym && !to_r->ms.sym) in sort__sym_to_cmp()
1266 return _sort__sym_cmp(to_l->ms.sym, to_r->ms.sym); in sort__sym_to_cmp()
1275 return _hist_entry__sym_snprintf(&from->ms, from->al_addr, in hist_entry__sym_from_snprintf()
1288 return _hist_entry__sym_snprintf(&to->ms, to->al_addr, in hist_entry__sym_to_snprintf()
1303 return sym && !(he->branch_info && he->branch_info->from.ms.sym && in hist_entry__sym_from_filter()
1304 strstr(he->branch_info->from.ms.sym->name, sym)); in hist_entry__sym_from_filter()
1315 return sym && !(he->branch_info && he->branch_info->to.ms.sym && in hist_entry__sym_to_filter()
1316 strstr(he->branch_info->to.ms.sym->name, sym)); in hist_entry__sym_to_filter()
1351 static int _hist_entry__addr_snprintf(struct map_symbol *ms, in _hist_entry__addr_snprintf() argument
1355 struct symbol *sym = ms->sym; in _hist_entry__addr_snprintf()
1356 struct map *map = ms->map; in _hist_entry__addr_snprintf()
1388 return _hist_entry__addr_snprintf(&from->ms, from->al_addr, in hist_entry__addr_from_snprintf()
1401 return _hist_entry__addr_snprintf(&to->ms, to->al_addr, in hist_entry__addr_to_snprintf()
1425 ret = _sort__dso_cmp(from_l->ms.map, from_r->ms.map); in sort__addr_from_cmp()
1449 ret = _sort__dso_cmp(to_l->ms.map, to_r->ms.map); in sort__addr_to_cmp()
1546 struct map_symbol *ms = NULL; in hist_entry__daddr_snprintf() local
1550 ms = &mem_info__daddr(he->mem_info)->ms; in hist_entry__daddr_snprintf()
1552 return _hist_entry__sym_snprintf(ms, addr, he->level, bf, size, width); in hist_entry__daddr_snprintf()
1572 struct map_symbol *ms = NULL; in hist_entry__iaddr_snprintf() local
1576 ms = &mem_info__iaddr(he->mem_info)->ms; in hist_entry__iaddr_snprintf()
1578 return _hist_entry__sym_snprintf(ms, addr, he->level, bf, size, width); in hist_entry__iaddr_snprintf()
1588 map_l = mem_info__daddr(left->mem_info)->ms.map; in sort__dso_daddr_cmp()
1590 map_r = mem_info__daddr(right->mem_info)->ms.map; in sort__dso_daddr_cmp()
1601 map = mem_info__daddr(he->mem_info)->ms.map; in hist_entry__dso_daddr_snprintf()
1733 l_map = mem_info__daddr(left->mem_info)->ms.map; in sort__dcacheline_cmp()
1734 r_map = mem_info__daddr(right->mem_info)->ms.map; in sort__dcacheline_cmp()
1788 struct map_symbol *ms = NULL; in hist_entry__dcacheline_snprintf() local
1792 struct map *map = mem_info__daddr(he->mem_info)->ms.map; in hist_entry__dcacheline_snprintf()
1797 ms = &mem_info__daddr(he->mem_info)->ms; in hist_entry__dcacheline_snprintf()
1808 return _hist_entry__sym_snprintf(ms, addr, level, bf, size, width); in hist_entry__dcacheline_snprintf()
2253 return _sort__sym_size_cmp(right->ms.sym, left->ms.sym); in sort__sym_size_cmp()
2268 return _hist_entry__sym_size_snprintf(he->ms.sym, bf, size, width); in hist_entry__sym_size_snprintf()
2292 return _sort__dso_size_cmp(right->ms.map, left->ms.map); in sort__dso_size_cmp()
2307 return _hist_entry__dso_size_snprintf(he->ms.map, bf, size, width); in hist_entry__dso_size_snprintf()
2324 struct map *left_map = left->ms.map; in sort__addr_cmp()
2325 struct map *right_map = right->ms.map; in sort__addr_cmp()
2339 struct map *map = he->ms.map; in hist_entry__addr_snprintf()