diff options
author | Stephane Eranian <eranian@google.com> | 2016-07-01 15:22:22 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-07-03 10:39:53 +0200 |
commit | 9010ae4a8dee29e5886e86682799dde0eee7f447 (patch) | |
tree | 5bad22037af54937d9450f1a2bc80609bd45b7be /mm/mremap.c | |
parent | 4f302921c1458d790ae21147f7043f4e6b6a1085 (diff) | |
download | linux-9010ae4a8dee29e5886e86682799dde0eee7f447.tar.gz linux-9010ae4a8dee29e5886e86682799dde0eee7f447.tar.bz2 linux-9010ae4a8dee29e5886e86682799dde0eee7f447.zip |
perf/x86/intel: Update event constraints when HT is off
This patch updates the event constraints for non-PEBS mode for
Intel Broadwell and Skylake processors. When HT is off, each
CPU gets 8 generic counters. However, not all events can be
programmed on any of the 8 counters. This patch adds the
constraints for the MEM_* events which can only be measured on the
bottom 4 counters. The constraints are also valid when HT is off
because, then, there are only 4 generic counters and they are the
bottom counters.
Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: kan.liang@intel.com
Link: http://lkml.kernel.org/r/1467411742-13245-1-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/mremap.c')
0 files changed, 0 insertions, 0 deletions