aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorStephane Eranian <eranian@google.com>2021-10-13 17:12:14 -0700
committerPeter Zijlstra <peterz@infradead.org>2021-10-30 16:37:24 +0200
commit2de71ee153efa93099d2ab864acffeec70a8dcd5 (patch)
tree40efe6fa4d55ebdc191005404a3a4f7d5de726d1 /include/linux
parentpowerpc/perf: Fix data source encodings for L2.1 and L3.1 accesses (diff)
downloadlinux-dev-2de71ee153efa93099d2ab864acffeec70a8dcd5.tar.xz
linux-dev-2de71ee153efa93099d2ab864acffeec70a8dcd5.zip
perf/x86/intel: Fix ICL/SPR INST_RETIRED.PREC_DIST encodings
This patch fixes the encoding for INST_RETIRED.PREC_DIST as published by Intel (download.01.org/perfmon/) for Icelake. The official encoding is event code 0x00 umask 0x1, a change from Skylake where it was code 0xc0 umask 0x1. With this patch applied it is possible to run: $ perf record -a -e cpu/event=0x00,umask=0x1/pp ..... Whereas before this would fail. To avoid problems with tools which may use the old code, we maintain the old encoding for Icelake. Signed-off-by: Stephane Eranian <eranian@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20211014001214.2680534-1-eranian@google.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions