Lines Matching full:al

44 static int __report_module(struct addr_location *al, u64 ip,  in __report_module()  argument
51 * Some callers will use al->sym, so we can't just use the in __report_module()
54 thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al); in __report_module()
56 if (al->map) in __report_module()
57 dso = map__dso(al->map); in __report_module()
70 base = map__start(al->map); in __report_module()
72 base = map__start(al->map) - map__pgoff(al->map); in __report_module()
110 struct addr_location al; in report_module() local
113 addr_location__init(&al); in report_module()
114 res = __report_module(&al, ip, ui); in report_module()
115 addr_location__exit(&al); in report_module()
127 struct addr_location al; in entry() local
129 addr_location__init(&al); in entry()
130 if (__report_module(&al, ip, ui)) { in entry()
131 addr_location__exit(&al); in entry()
136 e->ms.maps = al.maps; in entry()
137 e->ms.map = al.map; in entry()
138 e->ms.sym = al.sym; in entry()
141 al.sym ? al.sym->name : "''", in entry()
143 al.map ? map__map_ip(al.map, ip) : (u64) 0); in entry()
144 addr_location__exit(&al); in entry()
161 struct addr_location al; in access_dso_mem() local
165 addr_location__init(&al); in access_dso_mem()
166 if (!thread__find_map(ui->thread, PERF_RECORD_MISC_USER, addr, &al)) { in access_dso_mem()
170 dso = map__dso(al.map); in access_dso_mem()
174 size = dso__data_read_addr(dso, al.map, ui->machine, addr, (u8 *) data, sizeof(*data)); in access_dso_mem()
176 addr_location__exit(&al); in access_dso_mem()
179 addr_location__exit(&al); in access_dso_mem()