Home
last modified time | relevance | path

Searched refs:ams (Results 1 – 6 of 6) sorted by relevance

/tools/perf/util/
Dmap.c699 int maps__find_ams(struct maps *maps, struct addr_map_symbol *ams) in maps__find_ams() argument
701 if (ams->addr < ams->ms.map->start || ams->addr >= ams->ms.map->end) { in maps__find_ams()
704 ams->ms.map = maps__find(maps, ams->addr); in maps__find_ams()
705 if (ams->ms.map == NULL) in maps__find_ams()
709 ams->al_addr = ams->ms.map->map_ip(ams->ms.map, ams->addr); in maps__find_ams()
710 ams->ms.sym = map__find_symbol(ams->ms.map, ams->al_addr); in maps__find_ams()
712 return ams->ms.sym ? 0 : -1; in maps__find_ams()
Dmaps.h77 int maps__find_ams(struct maps *maps, struct addr_map_symbol *ams);
Dannotate.h341 int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample,
344 int addr_map_symbol__account_cycles(struct addr_map_symbol *ams,
Dmachine.c2048 struct addr_map_symbol *ams, in ip__resolve_ams() argument
2063 ams->addr = ip; in ip__resolve_ams()
2064 ams->al_addr = al.addr; in ip__resolve_ams()
2065 ams->ms.maps = al.maps; in ip__resolve_ams()
2066 ams->ms.sym = al.sym; in ip__resolve_ams()
2067 ams->ms.map = al.map; in ip__resolve_ams()
2068 ams->phys_addr = 0; in ip__resolve_ams()
2069 ams->data_page_size = 0; in ip__resolve_ams()
2073 u8 m, struct addr_map_symbol *ams, in ip__resolve_data() argument
2082 ams->addr = addr; in ip__resolve_data()
[all …]
Dannotate.c994 int addr_map_symbol__account_cycles(struct addr_map_symbol *ams, in addr_map_symbol__account_cycles() argument
1012 (start->ms.sym == ams->ms.sym || in addr_map_symbol__account_cycles()
1013 (ams->ms.sym && in addr_map_symbol__account_cycles()
1014 start->addr == ams->ms.sym->start + ams->ms.map->start))) in addr_map_symbol__account_cycles()
1018 ams->addr, in addr_map_symbol__account_cycles()
1020 ams->ms.sym ? ams->ms.sym->start + ams->ms.map->start : 0, in addr_map_symbol__account_cycles()
1022 err = symbol__account_cycles(ams->al_addr, saddr, ams->ms.sym, cycles); in addr_map_symbol__account_cycles()
1105 int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample, in addr_map_symbol__inc_samples() argument
1108 return symbol__inc_addr_samples(&ams->ms, evsel, ams->al_addr, sample); in addr_map_symbol__inc_samples()
Dsort.c400 static char *addr_map_symbol__srcline(struct addr_map_symbol *ams) in addr_map_symbol__srcline() argument
402 return map__srcline(ams->ms.map, ams->al_addr, ams->ms.sym); in addr_map_symbol__srcline()