From cd6a8fdb388c6c531a9b46e0b276c7734d7dcc5b Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Wed, 8 May 2024 10:14:49 -0700 Subject: [PATCH] Fix tma_heavy_operations_group for Skylake The metrics tma_few_uops_instructions and tma_microcode_sequencer require all 6 counters, therefore the metric can't succeed if the NMI watchdog is enabled. Update the constraints so that if the NMI watchdog is enabled the events won't be grouped. --- scripts/create_perf_json.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/create_perf_json.py b/scripts/create_perf_json.py index ae5693b3..e70e5ded 100644 --- a/scripts/create_perf_json.py +++ b/scripts/create_perf_json.py @@ -1414,7 +1414,9 @@ def append_to_desc(s: str): # Metrics that would fit were the NMI watchdog disabled. 'tma_dtlb_load': nmi, 'tma_fb_full': nmi, + 'tma_few_uops_instructions': nmi, 'tma_load_stlb_hit': nmi, + 'tma_microcode_sequencer': nmi, 'tma_remote_cache': nmi, 'tma_split_loads': nmi, 'tma_store_latency': nmi,