diff options
| author | Martin Vuille <[email protected]> | 2018-03-18 13:50:53 -0400 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-20 13:16:09 -0300 |
| commit | 555fc3b1ef4c850c635be333024dcf67bc1e7cb8 (patch) | |
| tree | 14ec58ecc34e44f6ea14d88e9e8989d74718cff5 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | ecd380b8dead1bad67e3af87e2ddfe826c3da79d (diff) | |
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: Martin Vuille <[email protected]>
Reviewed-by: Kim Phillips <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions