linux_dsm_epyc7002/arch/x86/kernel/cpu
Peter Zijlstra 18a073a3ac perf, x86: Fix BTS condition
Currently the x86 backend incorrectly assumes that any BRANCH_INSN
with sample_period==1 is a BTS request. This is not true when we do
frequency driven profiling such as 'perf record -e branches'.

Solves this error:

  $ perf record -e branches ./array
  Error: sys_perf_event_open() syscall returned with 95 (Operation not supported).

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Reported-by: Ingo Molnar <mingo@elte.hu>
Cc: "Metzger, Markus T" <markus.t.metzger@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/n/tip-rd2y4ct71hjawzz6fpvsy9hg@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-04-26 13:34:34 +02:00
..
cpufreq Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-03-18 10:45:21 -07:00
mcheck rcu: create new rcu_access_index() and use in mce 2011-04-01 07:27:31 -07:00
mtrr x86, mtrr, pat: Fix one cpu getting out of sync during resume 2011-03-29 16:17:42 -07:00
.gitignore
amd.c x86, amd: Disable GartTlbWlkErr when BIOS forgets it 2011-04-15 16:03:16 -07:00
bugs_64.c
bugs.c
centaur.c
common.c
cpu.h
cyrix.c
hypervisor.c
intel_cacheinfo.c
intel.c
Makefile
mkcapflags.pl
mshyperv.c
perf_event_amd.c perf, x86: Fix AMD family 15h FPU event constraints 2011-04-19 10:07:55 +02:00
perf_event_intel_ds.c perf, x86: Use INTEL_*_CONSTRAINT() for all PEBS event constraints 2011-03-16 14:04:12 +01:00
perf_event_intel_lbr.c
perf_event_intel.c perf, x86: Fix BTS condition 2011-04-26 13:34:34 +02:00
perf_event_p4.c perf, x86: P4 PMU - Don't forget to clear cpuc->active_mask on overflow 2011-04-22 10:21:34 +02:00
perf_event_p6.c
perf_event.c perf, x86: Fix BTS condition 2011-04-26 13:34:34 +02:00
perfctr-watchdog.c
powerflags.c
proc.c
scattered.c
sched.c
topology.c
transmeta.c
umc.c
vmware.c x86: Fix common misspellings 2011-03-18 10:39:30 +01:00