Lines Matching refs:dso
241 static int unwind_spec_ehframe(struct dso *dso, struct machine *machine, in unwind_spec_ehframe() argument
250 r = dso__data_read_offset(dso, machine, offset, in unwind_spec_ehframe()
264 static int read_unwind_spec_eh_frame(struct dso *dso, struct machine *machine, in read_unwind_spec_eh_frame() argument
269 u64 offset = dso->data.eh_frame_hdr_offset; in read_unwind_spec_eh_frame()
272 fd = dso__data_fd(dso, machine); in read_unwind_spec_eh_frame()
278 dso->data.eh_frame_hdr_offset = offset; in read_unwind_spec_eh_frame()
282 ret = unwind_spec_ehframe(dso, machine, offset, in read_unwind_spec_eh_frame()
290 static int read_unwind_spec_debug_frame(struct dso *dso, in read_unwind_spec_debug_frame() argument
294 u64 ofs = dso->data.debug_frame_offset; in read_unwind_spec_debug_frame()
297 fd = dso__data_fd(dso, machine); in read_unwind_spec_debug_frame()
303 dso->data.debug_frame_offset = ofs; in read_unwind_spec_debug_frame()
333 if (!map || !map->dso) in find_proc_info()
336 pr_debug("unwind: find_proc_info dso %s\n", map->dso->name); in find_proc_info()
339 if (!read_unwind_spec_eh_frame(map->dso, ui->machine, in find_proc_info()
355 if (!read_unwind_spec_debug_frame(map->dso, ui->machine, &segbase)) { in find_proc_info()
356 int fd = dso__data_fd(map->dso, ui->machine); in find_proc_info()
357 int is_exec = elf_is_exec(fd, map->dso->name); in find_proc_info()
361 if (dwarf_find_debug_frame(0, &di, ip, base, map->dso->name, in find_proc_info()
419 if (!al.map->dso) in access_dso_mem()
422 size = dso__data_read_addr(al.map->dso, al.map, ui->machine, in access_dso_mem()