aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2024-04-29 14:28:46 +0200
committerAlexander Gordeev <[email protected]>2024-05-14 13:37:06 +0200
commitcd58109283944ea8bdcd0a8211a86cbd2450716a (patch)
tree3efcc9cea02174f0a29c7e2a2bb26e58771b67e5 /tools/perf/scripts/python/export-to-postgresql.py
parent87eceb17a987802aeee718be4decd19b56fc8e33 (diff)
s390/stacktrace: Improve detection of invalid instruction pointers
Add basic checks to identify invalid instruction pointers when walking stack frames: Instruction pointers must - have even addresses - be larger than mmap_min_addr - lower than the asce_limit of the process Alternatively it would also be possible to walk page tables similar to fast GUP and verify that the mapping of the corresponding page is executable, however that seems to be overkill. Fixes: aa44433ac4ee ("s390: add USER_STACKTRACE support") Reviewed-by: Jens Remus <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions