commit | 6da7094810df5408e32528024cb783f920c87a2c | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Tue Jun 26 01:04:20 2012 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Jul 10 19:18:46 2012 +1000 |
tree | 5ee5d33f21e0ae02ed371e47a471b7716291a151 | |
parent | 5c093efa6f2dd07d45835be870a20ed3b05b6ef5 [diff] |
powerpc/perf: Use perf_instruction_pointer in callchains 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>