diff options
| author | Max Filippov <[email protected]> | 2019-04-04 18:08:40 +0000 |
|---|---|---|
| committer | Max Filippov <[email protected]> | 2019-04-04 18:18:55 +0000 |
| commit | ada770b1e74a77fff2d5f539bf6c42c25f4784db (patch) | |
| tree | d16d2233df136a01200e44892352b6c3aa023be2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | xtensa: fix initialization of pt_regs::syscall in start_thread (diff) | |
| download | kernel-ada770b1e74a77fff2d5f539bf6c42c25f4784db.tar.gz kernel-ada770b1e74a77fff2d5f539bf6c42c25f4784db.zip | |
xtensa: fix return_address
return_address returns the address that is one level higher in the call
stack than requested in its argument, because level 0 corresponds to its
caller's return address. Use requested level as the number of stack
frames to skip.
This fixes the address reported by might_sleep and friends.
Cc: [email protected]
Signed-off-by: Max Filippov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
