Re: [PATCH] perf: Fix looking up dwarf unwind stack info
From: Jiri Olsa
Date: Wed Jan 18 2017 - 08:22:07 EST
On Tue, Jan 17, 2017 at 03:50:35PM +0100, Matija Glavinic Pecotic wrote:
SNIP
> extern int
> UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,
> @@ -297,15 +298,58 @@ static int read_unwind_spec_debug_frame(struct dso *dso,
> int fd;
> u64 ofs = dso->data.debug_frame_offset;
>
> + /* debug_frame can reside in:
> + * - dso
> + * - debug pointed by symsrc_filename
> + * - gnu_debuglink, which doesn't necessary
> + * has to be pointed by symsrc_filename
> + */
looks like we could use this in other parts,
like when __get_srcline and similar
Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
thanks,
jirka