From: Stephane Eranian Date: Thu, 9 Feb 2012 22:20:57 +0000 (+0100) Subject: perf/x86: Implement PERF_SAMPLE_BRANCH for Intel CPUs X-Git-Tag: v3.4-rc1~192^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60ce0fbd072695866cb27b729690ab59dce705a5;p=pandora-kernel.git perf/x86: Implement PERF_SAMPLE_BRANCH for Intel CPUs This patch implements PERF_SAMPLE_BRANCH support for Intel x86processors. It connects PERF_SAMPLE_BRANCH to the actual LBR. The patch adds the hooks in the PMU irq handler to save the LBR on counter overflow for both regular and PEBS modes. Signed-off-by: Stephane Eranian Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1328826068-11713-8-git-send-email-eranian@google.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed