Revision 82c99f7a81f28f8c1be5f701c8377d14c4075b10 authored by Harry Pan on 24 April 2019, 14:50:33 UTC, committed by Ingo Molnar on 25 April 2019, 06:59:31 UTC
Kaby Lake (and Coffee Lake) has PC8/PC9/PC10 residency counters.

This patch updates the list of Kaby/Coffee Lake PMU event counters
from the snb_cstates[] list of events to the hswult_cstates[]
list of events, which keeps all previously supported events and
also adds the PKG_C8, PKG_C9 and PKG_C10 residency counters.

This allows user space tools to profile them through the perf interface.

Signed-off-by: Harry Pan <harry.pan@intel.com>
Cc: <stable@vger.kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: gs0622@gmail.com
Link: http://lkml.kernel.org/r/20190424145033.1924-1-harry.pan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent cd8dead
History
File Mode Size
postprocess
coresight-cpu-debug.txt -rw-r--r-- 8.3 KB
coresight.txt -rw-r--r-- 19.9 KB
events-kmem.rst -rw-r--r-- 5.4 KB
events-msr.rst -rw-r--r-- 782 bytes
events-nmi.rst -rw-r--r-- 1.6 KB
events-power.rst -rw-r--r-- 3.6 KB
events.rst -rw-r--r-- 17.6 KB
ftrace-design.rst -rw-r--r-- 14.8 KB
ftrace-uses.rst -rw-r--r-- 10.1 KB
ftrace.rst -rw-r--r-- 126.0 KB
function-graph-fold.vim -rw-r--r-- 1.3 KB
histogram.rst -rw-r--r-- 148.5 KB
hwlat_detector.rst -rw-r--r-- 3.9 KB
index.rst -rw-r--r-- 364 bytes
intel_th.rst -rw-r--r-- 4.7 KB
kprobetrace.rst -rw-r--r-- 8.8 KB
mmiotrace.rst -rw-r--r-- 6.8 KB
ring-buffer-design.txt -rw-r--r-- 29.9 KB
stm.rst -rw-r--r-- 6.6 KB
sys-t.rst -rw-r--r-- 2.1 KB
tracepoint-analysis.rst -rw-r--r-- 12.1 KB
tracepoints.rst -rw-r--r-- 5.2 KB
uprobetracer.rst -rw-r--r-- 6.7 KB

back to top