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)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 14 Apr 2015 06:21:16 +0000 (16:21 +1000)
commit9a5cbce421a283e6aea3c4007f141735bf9da8c3
tree90dffd2ba5a0ca50e266d41100c8909cc70aebe0
parent7debc970ae7a5573ed43a1dfa242fd1a5390d21a
powerpc/perf: Cap 64bit userspace backtraces to PERF_MAX_STACK_DEPTH

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>
arch/powerpc/perf/callchain.c