Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1561767

Re: [PATCH] perf: Fix looking up dwarf unwind stack info

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] perf: Fix looking up dwarf unwind stack info
Date 2017-01-18 14:30 +0100
Message-ID <t0Ytk-4D1-9@gated-at.bofh.it> (permalink)
References <t0Ytk-4D1-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@kernel.org>

thanks,
jirka

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] perf: Fix looking up dwarf unwind stack info Jiri Olsa <jolsa@redhat.com> - 2017-01-18 14:30 +0100

csiph-web