From: Robert Richter Date: Mon, 2 Apr 2012 18:19:11 +0000 (+0200) Subject: perf/x86-ibs: Take instruction pointer from ibs sample X-Git-Tag: v3.5-rc1~141^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d47e8238cd76f1ffa7c8cd30e08b8e9074fd597e;p=pandora-kernel.git perf/x86-ibs: Take instruction pointer from ibs sample Each IBS sample contains a linear address of the instruction that caused the sample to trigger. This address is more precise than the rip that was taken from the interrupt handler's stack. Update the rip with that address. We use this in the next patch to implement precise-event sampling on AMD systems using IBS. Signed-off-by: Robert Richter Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1333390758-10893-6-git-send-email-robert.richter@amd.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed