linux/arch/x86/kernel/cpu
Andi Kleen 03de874aa7 perf/x86: Fix :pp without LBR
This fixes a side effect of Kan's earlier patch to probe the LBRs at boot
time. Normally when the LBRs are disabled cycles:pp is disabled too.
So for example cycles:pp doesn't work.

However this is not needed with PEBSv2 and later (Haswell) because
it does not need LBRs to correct the IP-off-by-one.

So add an extra check for PEBSv2 that also allows :pp

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: kan.liang@intel.com
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Link: http://lkml.kernel.org/r/1407456534-15747-1-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-08-13 07:51:12 +02:00
..
mcheck x86, MCE: Robustify mcheck_init_device 2014-07-21 18:14:32 +02:00
microcode
mtrr
.gitignore
amd.c Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-04 17:15:45 -07:00
bugs.c
bugs_64.c
centaur.c
common.c Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-04 17:15:45 -07:00
cpu.h
cyrix.c
hypervisor.c
intel.c Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-04 17:15:45 -07:00
intel_cacheinfo.c x86, cpu: Fix cache topology for early P4-SMT 2014-07-23 08:16:17 -07:00
Makefile perf/x86/uncore: move NHM-EX/WSM-EX specific code to seperate file 2014-08-13 07:51:08 +02:00
match.c
mkcapflags.sh x86/cpufeature: Add bug flags to /proc/cpuinfo 2014-07-14 12:21:39 -07:00
mshyperv.c
perf_event.c perf/x86: Fix :pp without LBR 2014-08-13 07:51:12 +02:00
perf_event.h perf/x86/intel: Protect LBR and extra_regs against KVM lying 2014-07-16 13:18:43 +02:00
perf_event_amd.c
perf_event_amd_ibs.c
perf_event_amd_iommu.c
perf_event_amd_iommu.h
perf_event_amd_uncore.c perf/x86/amd: Try to fix some mem allocation failure handling 2014-07-16 13:31:06 +02:00
perf_event_intel.c perf/x86: Use extended offcore mask on Haswell 2014-08-13 07:51:10 +02:00
perf_event_intel_ds.c perf/x86/intel: Avoid spamming kernel log for BTS buffer failure 2014-07-16 13:31:30 +02:00
perf_event_intel_lbr.c perf/x86: Add conditional branch filtering support 2014-06-05 12:30:23 +02:00
perf_event_intel_rapl.c
perf_event_intel_uncore.c perf/x86/uncore: move NHM-EX/WSM-EX specific code to seperate file 2014-08-13 07:51:08 +02:00
perf_event_intel_uncore.h perf/x86/uncore: move NHM-EX/WSM-EX specific code to seperate file 2014-08-13 07:51:08 +02:00
perf_event_intel_uncore_nhmex.c perf/x86/uncore: Fix coccinelle warnings 2014-08-13 07:51:09 +02:00
perf_event_intel_uncore_snb.c perf/x86/uncore: Move NHM/SNB/IVB specific code to seperate file 2014-08-13 07:51:06 +02:00
perf_event_intel_uncore_snbep.c perf/x86/uncore: Move SNB/IVB-EP specific code to seperate file 2014-08-13 07:51:07 +02:00
perf_event_knc.c
perf_event_p4.c
perf_event_p6.c
perfctr-watchdog.c
powerflags.c
proc.c x86/cpufeature: Add bug flags to /proc/cpuinfo 2014-07-14 12:21:39 -07:00
rdrand.c
scattered.c x86/xsaves: Detect xsaves/xrstors feature 2014-05-29 14:24:28 -07:00
topology.c
transmeta.c
umc.c
vmware.c