From 1f5a4f9b7afe6f048915f6a2ca67ed659f58c46f Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Wed, 30 Aug 2023 10:45:23 -0700 Subject: [PATCH] Fix format used for Skylake UNC_ARB_TRK_OCCUPANCY.DATA_READ:c1 uncore_arb on Skylake has no thresh format, it should use cmask. This confusion creeps in because on SkylakeX uncore_cha is used instead of uncore_arb, uncore_cha having a thresh format. --- scripts/create_perf_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create_perf_json.py b/scripts/create_perf_json.py index 4974df3a..a8d4afad 100644 --- a/scripts/create_perf_json.py +++ b/scripts/create_perf_json.py @@ -976,7 +976,7 @@ def fixup(form: str) -> str: 'RKL': td_event_fixups, 'SKL': [ ('UNC_ARB_TRK_OCCUPANCY.DATA_READ:c1', - 'UNC_ARB_TRK_OCCUPANCY.DATA_READ@thresh\=1@'), + 'UNC_ARB_TRK_OCCUPANCY.DATA_READ@cmask\=1@'), ], 'SKX': [ ('UNC_M_CLOCKTICKS:one_unit', 'imc_0@event\=0x0@'),