diff options
| author | Martin Schwidefsky <[email protected]> | 2019-01-28 08:33:08 +0100 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2019-05-02 13:54:11 +0200 |
| commit | 78c98f9074135d3dab4e39544e0a537f92388fce (patch) | |
| tree | 6f6d96e8e0911fe2aa27ec89cca52d56d3ed6f7e /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | 1c705ad5efae9c712e763a47fbcc95b87b7347d2 (diff) | |
s390/unwind: introduce stack unwind API
Rework the dump_trace() stack unwinder interface to support different
unwinding algorithms. The new interface looks like this:
struct unwind_state state;
unwind_for_each_frame(&state, task, regs, start_stack)
do_something(state.sp, state.ip, state.reliable);
The unwind_bc.c file contains the implementation for the classic
back-chain unwinder.
One positive side effect of the new code is it now handles ftraced
functions gracefully. It prints the real name of the return function
instead of 'return_to_handler'.
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions