Skip to content
Commit 555fc3b1 authored by Martin Vuille's avatar Martin Vuille Committed by Arnaldo Carvalho de Melo
Browse files

perf unwind: Report error from dwfl_attach_state



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: default avatarMartin Vuille <jpmv27@aim.com>
Reviewed-by: default avatarKim Phillips <kim.phillips@arm.com>
Link: http://lkml.kernel.org/r/20180318175053.4222-1-jpmv27@aim.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent ecd380b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment