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

From: Arnaldo Carvalho de Melo
Date: Tue Mar 20 2018 - 12:18:37 EST


Em Tue, Mar 20, 2018 at 08:06:33AM +0800, Kim Phillips escreveu:
> 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>

Thanks, applied.

- Arnaldo