diff options
author | Mark Rutland <[email protected]> | 2017-08-01 18:51:15 +0100 |
---|---|---|
committer | Mark Rutland <[email protected]> | 2017-08-15 18:36:12 +0100 |
commit | 12964443e8d1914010f9269f9f9abc4e122bc6ca (patch) | |
tree | d111b3b683530290cc4d65992456b68167916a20 /tools/perf/scripts/python/stackcollapse.py | |
parent | e3067861ba6650a566a6273738c23c956ad55c02 (diff) |
arm64: add on_accessible_stack()
Both unwind_frame() and dump_backtrace() try to check whether a stack
address is sane to access, with very similar logic. Both will need
updating in order to handle overflow stacks.
Factor out this logic into a helper, so that we can avoid further
duplication when we add overflow stacks.
Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: Will Deacon <[email protected]>
Tested-by: Laura Abbott <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: James Morse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions