Re: [PATCH RESEND] perf unwind: Report error from dwfl_attach_state

From: Kim Phillips
Date: Mon Mar 19 2018 - 20:06:50 EST


On Sun, 18 Mar 2018 13:50:53 -0400
Martin Vuille <jpmv27@xxxxxxx> wrote:

> In verbose level 2, errors returned by libdw are reported in most cases,
> but not when calling dwfl_attach_state.
>
> Since elfutils v 0.160 (2014), dwfl_attach_state sets the error code to
> report failure cause. On failure, log the reported error.
>
> Signed-off-by: Martin Vuille <jpmv27@xxxxxxx>
> ---

Reviewed-by: Kim Phillips <kim.phillips@xxxxxxx>

Kim