From e641f557bd4cc767790efaee8aefe5e9a04e3f1e Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 12 Dec 2019 14:52:37 +0000 Subject: [PATCH] libpmc: remove undesired prefix from two s390 counters Two counters included a prefix 'Counter:###\tName:XXX' in their descriptions that appears to be a leftover from some conversion process. Remove them. Found because a json validator tripped over the tab in the description. --- lib/libpmc/pmu-events/arch/s390/cf_z13/extended.json | 2 +- lib/libpmc/pmu-events/arch/s390/cf_z14/extended.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libpmc/pmu-events/arch/s390/cf_z13/extended.json b/lib/libpmc/pmu-events/arch/s390/cf_z13/extended.json index 9a002b6967f..87e957925d0 100644 --- a/lib/libpmc/pmu-events/arch/s390/cf_z13/extended.json +++ b/lib/libpmc/pmu-events/arch/s390/cf_z13/extended.json @@ -27,7 +27,7 @@ "EventCode": "132", "EventName": "DTLB1_GPAGE_WRITES", "BriefDescription": "DTLB1 Two-Gigabyte Page Writes", - "PublicDescription": "Counter:132 Name:DTLB1_GPAGE_WRITES A translation entry has been written to the Level-1 Data Translation Lookaside Buffer for a two-gigabyte page." + "PublicDescription": "A translation entry has been written to the Level-1 Data Translation Lookaside Buffer for a two-gigabyte page." }, { "EventCode": "133", diff --git a/lib/libpmc/pmu-events/arch/s390/cf_z14/extended.json b/lib/libpmc/pmu-events/arch/s390/cf_z14/extended.json index aa4dfb46b65..723ef50e258 100644 --- a/lib/libpmc/pmu-events/arch/s390/cf_z14/extended.json +++ b/lib/libpmc/pmu-events/arch/s390/cf_z14/extended.json @@ -3,7 +3,7 @@ "EventCode": "128", "EventName": "L1D_RO_EXCL_WRITES", "BriefDescription": "L1D Read-only Exclusive Writes", - "PublicDescription": "Counter:128 Name:L1D_RO_EXCL_WRITES A directory write to the Level-1 Data cache where the line was originally in a Read-Only state in the cache but has been updated to be in the Exclusive state that allows stores to the cache line" + "PublicDescription": "A directory write to the Level-1 Data cache where the line was originally in a Read-Only state in the cache but has been updated to be in the Exclusive state that allows stores to the cache line" }, { "EventCode": "129",