powerpc/perf: Use perf_instruction_pointer in callchains
authorAnton Blanchard <anton@samba.org>
Tue, 26 Jun 2012 01:04:20 +0000 (01:04 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Jul 2012 09:18:46 +0000 (19:18 +1000)
We use SIAR or regs->nip for the instruction pointer depending on
the PMU configuration, but we always use regs->nip in the callchain.

Use perf_instruction_pointer so the backtrace is consistent.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found