Lines Matching refs:al
176 static int db_ids_from_al(struct db_export *dbe, struct addr_location *al,
181 if (al->map) {
182 struct dso *dso = al->map->dso;
184 err = db_export__dso(dbe, dso, al->maps->machine);
189 if (!al->sym) {
190 al->sym = symbol__new(al->addr, 0, 0, 0, "unknown");
191 if (al->sym)
192 dso__insert_symbol(dso, al->sym);
195 if (al->sym) {
196 u64 *db_id = symbol__priv(al->sym);
198 err = db_export__symbol(dbe, al->sym, dso);
202 *offset = al->addr - al->sym->start;
239 struct addr_location al;
242 memset(&al, 0, sizeof(al));
252 al.sym = node->ms.sym;
253 al.map = node->ms.map;
254 al.maps = thread->maps;
255 al.addr = node->ip;
257 if (al.map && !al.sym)
258 al.sym = dso__find_symbol(al.map->dso, al.addr);
260 db_ids_from_al(dbe, &al, &dso_db_id, &sym_db_id, &offset);
264 al.sym, node->ip,
346 struct addr_location *al)
348 struct thread *thread = al->thread;
353 .al = al,
363 err = db_export__machine(dbe, al->maps->machine);
367 main_thread = thread__main_thread(al->maps->machine, thread);
369 err = db_export__threads(dbe, thread, main_thread, al->maps->machine, &comm);
378 err = db_ids_from_al(dbe, al, &es.dso_db_id, &es.sym_db_id, &es.offset);
383 struct call_path *cp = call_path_from_sample(dbe, al->maps->machine,
402 err = thread_stack__process(thread, comm, sample, al,