summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-10-05 00:05:43 +0200
committerHelge Deller <deller@gmx.de>2021-10-30 23:11:01 +0200
commit9cc2fa4f4a92ccc6760d764e7341be46ee8aaaa1 (patch)
treecb3368f6307e23dfeff358ea3188da6db19b35ab /tools/perf/scripts/python/export-to-sqlite.py
parentf06d6e92c879f0e3b1577d02cfaeeb8c7d4ed37a (diff)
task_stack: Fix end_of_stack() for architectures with upwards-growing stack
The function end_of_stack() returns a pointer to the last entry of a stack. For architectures like parisc where the stack grows upwards return the pointer to the highest address in the stack. Without this change I faced a crash on parisc, because the stackleak functionality wrote STACKLEAK_POISON to the lowest address and thus overwrote the first 4 bytes of the task_struct which included the TIF_FLAGS. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions