perf vendor events: Update bonnell mapfile.csv
authorIan Rogers <irogers@google.com>
Wed, 27 Jul 2022 22:08:07 +0000 (15:08 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 Jul 2022 19:06:17 +0000 (16:06 -0300)
Align end of file whitespace with what is generated by:
https://github.com/intel/event-converter-for-linux-perf/blob/master/download_and_gen.py

Fold the mapfile.csv entries together with a more complex regular
expression. This will reduce the pmu-events.c table size.
The files following this change are still at v4.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Caleb Biggers <caleb.biggers@intel.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Kshipra Bopardikar <kshipra.bopardikar@intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Perry Taylor <perry.taylor@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Link: http://lore.kernel.org/lkml/20220727220832.2865794-6-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/arch/x86/bonnell/cache.json
tools/perf/pmu-events/arch/x86/bonnell/floating-point.json
tools/perf/pmu-events/arch/x86/bonnell/frontend.json
tools/perf/pmu-events/arch/x86/bonnell/memory.json
tools/perf/pmu-events/arch/x86/bonnell/other.json
tools/perf/pmu-events/arch/x86/bonnell/pipeline.json
tools/perf/pmu-events/arch/x86/bonnell/virtual-memory.json
tools/perf/pmu-events/arch/x86/mapfile.csv

index 71653bfe7093af0f1e590b5121aa48c5c563e248..86582bb8aa3935bd0eea7c5b582b29c1ded80f8a 100644 (file)
         "SampleAfterValue": "10000",
         "UMask": "0x2"
     }
-]
\ No newline at end of file
+]
index f8055ff47f1958eea52cd34746cd7112916623bc..1fa347d07c98936f083b195b00817f8de3432080 100644 (file)
         "SampleAfterValue": "2000000",
         "UMask": "0x2"
     }
-]
\ No newline at end of file
+]
index e852eb2cc8788ac389001b3b0b50d9da44e79c76..21fe5fe229aa55cb40f13bed81603a67d9a701e3 100644 (file)
@@ -88,4 +88,4 @@
         "SampleAfterValue": "2000000",
         "UMask": "0x1"
     }
-]
\ No newline at end of file
+]
index 2aa4c41f528e581fc94d2ddc3bc492c68c4284fe..f8b45b6fb4d34f29450e7d1774b85700b0de6b88 100644 (file)
         "SampleAfterValue": "200000",
         "UMask": "0x86"
     }
-]
\ No newline at end of file
+]
index 114c062e7e96594fdd58d5d7faa7cf25b36e2ce8..e0bdcfbfa9dcf3d4c46aa8bf2d28acea0edf11ee 100644 (file)
         "SampleAfterValue": "200000",
         "UMask": "0xc0"
     }
-]
\ No newline at end of file
+]
index 896b738e59b6aad59f1b9862d563fca6ecc36e29..f5123c99a7ba691f173f6ade566badced1fad6df 100644 (file)
         "SampleAfterValue": "2000000",
         "UMask": "0x10"
     }
-]
\ No newline at end of file
+]
index c2363b8e61b4725fc365bf3da3b67a0f926bf64d..e8512c585572ef6fe9edb6decdf4e05f79db7b82 100644 (file)
         "SampleAfterValue": "200000",
         "UMask": "0x3"
     }
-]
\ No newline at end of file
+]
index 2842f23db82a9e31f96d94c4afeda99f11fe97f6..dbd6bcbbca8b34388118ab266825c3f52ec15885 100644 (file)
@@ -1,13 +1,9 @@
 Family-model,Version,Filename,EventType
 GenuineIntel-6-9[7A],v1.13,alderlake,core
+GenuineIntel-6-(1C|26|27|35|36),v4,bonnell,core
 GenuineIntel-6-(3D|47),v26,broadwell,core
 GenuineIntel-6-56,v23,broadwellde,core
 GenuineIntel-6-4F,v19,broadwellx,core
-GenuineIntel-6-1C,v4,bonnell,core
-GenuineIntel-6-26,v4,bonnell,core
-GenuineIntel-6-27,v4,bonnell,core
-GenuineIntel-6-36,v4,bonnell,core
-GenuineIntel-6-35,v4,bonnell,core
 GenuineIntel-6-5C,v8,goldmont,core
 GenuineIntel-6-7A,v1,goldmontplus,core
 GenuineIntel-6-3C,v24,haswell,core