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