summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-12-31 03:52:25 +0100
committerIngo Molnar <mingo@elte.hu>2010-01-13 09:32:54 +0100
commitc2c5d45d46c8c0fd34291dec958670ad4816796f (patch)
tree3d65ac0b76107abb6cf30982f69ccb9120de5be7 /tools
parent7284ce6c9f6153d1777df5f310c959724d1bd446 (diff)
downloadop-kernel-dev-c2c5d45d46c8c0fd34291dec958670ad4816796f.zip
op-kernel-dev-c2c5d45d46c8c0fd34291dec958670ad4816796f.tar.gz
perf: Stop stack frame walking off kernel addresses boundaries
While processing kernel perf callchains, an bad entry can be considered as a valid stack pointer but not as a kernel address. In this case, we hang in an endless loop. This can happen in an x86-32 kernel after processing the last entry in a kernel stacktrace. Just stop the stack frame walking after we encounter an invalid kernel address. This fixes a hard lockup in x86-32. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1262227945-27014-1-git-send-regression-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud