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_get_fd(dso, machine); in read_unwind_spec_eh_frame()
278 dso->data.eh_frame_hdr_offset = offset; in read_unwind_spec_eh_frame()
279 dso__data_put_fd(dso); in read_unwind_spec_eh_frame()
283 ret = unwind_spec_ehframe(dso, machine, offset, in read_unwind_spec_eh_frame()
291 static int read_unwind_spec_debug_frame(struct dso *dso, in read_unwind_spec_debug_frame() argument
295 u64 ofs = dso->data.debug_frame_offset; in read_unwind_spec_debug_frame()
298 fd = dso__data_get_fd(dso, machine); in read_unwind_spec_debug_frame()
304 dso->data.debug_frame_offset = ofs; in read_unwind_spec_debug_frame()
305 dso__data_put_fd(dso); in read_unwind_spec_debug_frame()
336 if (!map || !map->dso) in find_proc_info()
339 pr_debug("unwind: find_proc_info dso %s\n", map->dso->name); in find_proc_info()
342 if (!read_unwind_spec_eh_frame(map->dso, ui->machine, in find_proc_info()
359 !read_unwind_spec_debug_frame(map->dso, ui->machine, &segbase)) { in find_proc_info()
360 int fd = dso__data_get_fd(map->dso, ui->machine); in find_proc_info()
361 int is_exec = elf_is_exec(fd, map->dso->name); in find_proc_info()
366 dso__data_put_fd(map->dso); in find_proc_info()
368 symfile = map->dso->symsrc_filename ?: map->dso->name; in find_proc_info()
429 if (!al.map->dso) in access_dso_mem()
432 size = dso__data_read_addr(al.map->dso, al.map, ui->machine, in access_dso_mem()