]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/perf: Cap 64bit userspace backtraces to PERF_MAX_STACK_DEPTH
authorAnton Blanchard <anton@samba.org>
Mon, 13 Apr 2015 21:51:03 +0000 (07:51 +1000)
committerJiri Slaby <jslaby@suse.cz>
Mon, 4 May 2015 09:50:05 +0000 (11:50 +0200)
commitd15e6bc4606b27f53ef70a99d05690fa5a0e6c45
treefa4cf571d72a71526b1963a4fdf16e82d7c9ec4e
parentf7b22e25281cd03ed8c7f5ebb559dc109bb592cc
powerpc/perf: Cap 64bit userspace backtraces to PERF_MAX_STACK_DEPTH

commit 9a5cbce421a283e6aea3c4007f141735bf9da8c3 upstream.

We cap 32bit userspace backtraces to PERF_MAX_STACK_DEPTH
(currently 127), but we forgot to do the same for 64bit backtraces.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/powerpc/perf/callchain.c