summaryrefslogtreecommitdiff
path: root/arch/x86/events/intel/knc.c
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-09-15 08:22:33 (GMT)
committerIngo Molnar <mingo@kernel.org>2016-09-15 09:25:26 (GMT)
commitcecf62352aee2b4fe114aafd1b8c5f265a4243ce (patch)
tree0000f4424e48eacc9e1386cd0fad97522e3ab4b2 /arch/x86/events/intel/knc.c
parent4cea8776571b18db7485930cb422faa739580c8c (diff)
downloadlinux-cecf62352aee2b4fe114aafd1b8c5f265a4243ce.tar.xz
perf/x86/intel: Don't disable "intel_bts" around "intel" event batching
At the moment, intel_bts events get disabled from intel PMU's disable callback, which includes event scheduling transactions of said PMU, which have nothing to do with intel_bts events. We do want to keep intel_bts events off inside the PMI handler to avoid filling up their buffer too soon. This patch moves intel_bts enabling/disabling directly to the PMI handler. Reported-by: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: vince@deater.net Link: http://lkml.kernel.org/r/20160915082233.11065-1-alexander.shishkin@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/events/intel/knc.c')
0 files changed, 0 insertions, 0 deletions