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
1.Intro.rst -rw-r--r-- 14.3 KB
2.Process.rst -rw-r--r-- 23.6 KB
3.Early-stage.rst -rw-r--r-- 10.7 KB
4.Coding.rst -rw-r--r-- 21.3 KB
5.Posting.rst -rw-r--r-- 15.8 KB
6.Followthrough.rst -rw-r--r-- 11.8 KB
7.AdvancedTopics.rst -rw-r--r-- 9.5 KB
8.Conclusion.rst -rw-r--r-- 3.1 KB
adding-syscalls.rst -rw-r--r-- 26.2 KB
applying-patches.rst -rw-r--r-- 17.0 KB
changes.rst -rw-r--r-- 12.5 KB
clang-format.rst -rw-r--r-- 6.4 KB
code-of-conduct-interpretation.rst -rw-r--r-- 7.2 KB
code-of-conduct.rst -rw-r--r-- 3.2 KB
coding-style.rst -rw-r--r-- 38.2 KB
conf.py -rw-r--r-- 260 bytes
deprecated.rst -rw-r--r-- 5.6 KB
development-process.rst -rw-r--r-- 810 bytes
email-clients.rst -rw-r--r-- 10.8 KB
howto.rst -rw-r--r-- 26.7 KB
index.rst -rw-r--r-- 1.4 KB
kernel-docs.rst -rw-r--r-- 24.2 KB
kernel-driver-statement.rst -rw-r--r-- 4.1 KB
kernel-enforcement-statement.rst -rw-r--r-- 4.9 KB
license-rules.rst -rw-r--r-- 16.1 KB
magic-number.rst -rw-r--r-- 10.2 KB
maintainer-pgp-guide.rst -rw-r--r-- 37.1 KB
management-style.rst -rw-r--r-- 13.1 KB
programming-language.rst -rw-r--r-- 2.0 KB
stable-api-nonsense.rst -rw-r--r-- 9.2 KB
stable-kernel-rules.rst -rw-r--r-- 6.8 KB
submit-checklist.rst -rw-r--r-- 4.9 KB
submitting-drivers.rst -rw-r--r-- 6.7 KB
submitting-patches.rst -rw-r--r-- 36.9 KB
volatile-considered-harmful.rst -rw-r--r-- 5.6 KB

back to top