From: Anton Blanchard Date: Tue, 26 Jun 2012 01:04:20 +0000 (+0000) Subject: powerpc/perf: Use perf_instruction_pointer in callchains X-Git-Tag: v3.6-rc1~132^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6da7094810df5408e32528024cb783f920c87a2c;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed