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)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:12:09 +0000 (19:12 -0400)
commitff342613d0b725883aae0bbde834ba5aad99973c
tree906388e81d8133833c0dc931459752ffca970b8a
parent877f68ecbdb55e5c1dbae420a2850fd2a0487032
powerpc/perf: Cap 64bit userspace backtraces to PERF_MAX_STACK_DEPTH

[ Upstream commit 9a5cbce421a283e6aea3c4007f141735bf9da8c3 ]

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

Cc: stable@vger.kernel.org
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/powerpc/perf/callchain.c