]> asedeno.scripts.mit.edu Git - linux.git/commit
s390: add error handling to perf_callchain_kernel
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 30 Oct 2019 13:20:32 +0000 (14:20 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 31 Oct 2019 16:20:54 +0000 (17:20 +0100)
commiteffb83ccc83a97dbbe5214f4c443522719f05f3a
treebdf7eb70439c5b2ccc660c29e7ea5a8896a06243
parent265f79dcb5702aeffcd9453c8cbb5fb707652323
s390: add error handling to perf_callchain_kernel

perf_callchain_kernel stops neither when it encounters a garbage
address, nor when it runs out of space. Fix both issues using x86
version as an inspiration.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/perf_event.c