Lines Matching refs:al
44 static int __report_module(struct addr_location *al, u64 ip, in __report_module() argument
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()
113 struct addr_location al; in report_module() local
116 addr_location__init(&al); in report_module()
117 res = __report_module(&al, ip, ui); in report_module()
118 addr_location__exit(&al); in report_module()
130 struct addr_location al; in entry() local
132 addr_location__init(&al); in entry()
133 if (__report_module(&al, ip, ui)) { in entry()
134 addr_location__exit(&al); in entry()
139 e->ms.maps = al.maps; in entry()
140 e->ms.map = al.map; in entry()
141 e->ms.sym = al.sym; in entry()
144 al.sym ? al.sym->name : "''", in entry()
146 al.map ? map__map_ip(al.map, ip) : (u64) 0); in entry()
147 addr_location__exit(&al); in entry()
164 struct addr_location al; in access_dso_mem() local
168 addr_location__init(&al); in access_dso_mem()
169 if (!thread__find_map(ui->thread, PERF_RECORD_MISC_USER, addr, &al)) { in access_dso_mem()
173 dso = map__dso(al.map); in access_dso_mem()
177 size = dso__data_read_addr(dso, al.map, ui->machine, addr, (u8 *) data, sizeof(*data)); in access_dso_mem()
179 addr_location__exit(&al); in access_dso_mem()
182 addr_location__exit(&al); in access_dso_mem()