]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel: Introduce the fourth fixed counter
authorKan Liang <kan.liang@linux.intel.com>
Thu, 23 Jul 2020 17:11:06 +0000 (10:11 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 18 Aug 2020 14:34:35 +0000 (16:34 +0200)
commit02c39f2e8881926b21c186cb109f429bb13e7117
tree7bf8bdd1e8dafd127ac8203d48def4f37cdc3ff1
parent1f30d711193ac3f5e090b63a02f92f8d5f76d056
perf/x86/intel: Introduce the fourth fixed counter

The fourth fixed counter, TOPDOWN.SLOTS, is introduced in Ice Lake to
measure the level 1 TopDown events.

Add MSR address and macros for the new fixed counter, which will be used
in a later patch.

Add comments to explain the event encoding rules for the fixed counters.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200723171117.9918-4-kan.liang@linux.intel.com
arch/x86/include/asm/perf_event.h