summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events/arch/x86/westmereex/frontend.json
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-06-20 11:17:51 -0700
committerNamhyung Kim <namhyung@kernel.org>2024-06-20 16:56:57 -0700
commit788c5160526a6385fc70bc1ad32cf686e4ec3a61 (patch)
tree8d0825ef0549391220a9be740cf77b2ee90b8596 /tools/perf/pmu-events/arch/x86/westmereex/frontend.json
parentdc5f18a1026f72bf41eb339a4069063c0b6f9cbf (diff)
perf vendor events: Add westmereex counter information
Add counter information necessary for optimizing event grouping the perf tool. The most recent RFC patch set using this information: https://lore.kernel.org/lkml/20240412210756.309828-1-weilin.wang@intel.com/ The information was added in: https://github.com/intel/perfmon/commit/475892a9690cb048949e593fe39cee65cd4765e1 and later patches. Co-authored-by: Weilin Wang <weilin.wang@intel.com> Co-authored-by: Caleb Biggers <caleb.biggers@intel.com> Signed-off-by: Ian Rogers <irogers@google.com> Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240620181752.3945845-38-irogers@google.com
Diffstat (limited to 'tools/perf/pmu-events/arch/x86/westmereex/frontend.json')
-rw-r--r--tools/perf/pmu-events/arch/x86/westmereex/frontend.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/pmu-events/arch/x86/westmereex/frontend.json b/tools/perf/pmu-events/arch/x86/westmereex/frontend.json
index f7f28510e3ae..c561ac24d91d 100644
--- a/tools/perf/pmu-events/arch/x86/westmereex/frontend.json
+++ b/tools/perf/pmu-events/arch/x86/westmereex/frontend.json
@@ -1,6 +1,7 @@
[
{
"BriefDescription": "Instructions decoded",
+ "Counter": "0,1,2,3",
"EventCode": "0xD0",
"EventName": "MACRO_INSTS.DECODED",
"SampleAfterValue": "2000000",
@@ -8,6 +9,7 @@
},
{
"BriefDescription": "Macro-fused instructions decoded",
+ "Counter": "0,1,2,3",
"EventCode": "0xA6",
"EventName": "MACRO_INSTS.FUSIONS_DECODED",
"SampleAfterValue": "2000000",
@@ -15,6 +17,7 @@
},
{
"BriefDescription": "Two Uop instructions decoded",
+ "Counter": "0,1,2,3",
"EventCode": "0x19",
"EventName": "TWO_UOP_INSTS_DECODED",
"SampleAfterValue": "2000000",