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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:01:54 +0000 (22:01 +0200)
commit2f6dccd3122af4707c9745c9370654223f665d7b
tree53f53795ca6ba9fd7ecce337f7255ecffaf51bbc
parentb6430aceced58caaff7997651222b7adda01a7ae
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/perf/callchain.c