hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/perf/pmu-events/README
....@@ -30,9 +30,9 @@
3030 All the topic JSON files for a CPU model/family should be in a separate
3131 sub directory. Thus for the Silvermont X86 CPU:
3232
33
- $ ls tools/perf/pmu-events/arch/x86/Silvermont_core
34
- Cache.json Memory.json Virtual-Memory.json
35
- Frontend.json Pipeline.json
33
+ $ ls tools/perf/pmu-events/arch/x86/silvermont
34
+ cache.json memory.json virtual-memory.json
35
+ frontend.json pipeline.json
3636
3737 The JSONs folder for a CPU model/family may be placed in the root arch
3838 folder, or may be placed in a vendor sub-folder under the arch folder
....@@ -94,7 +94,7 @@
9494
9595 where 'pm_1plus_ppc_cmpl' is a Power8 PMU event.
9696
97
-However some errors in processing may cause the perf build to fail.
97
+However some errors in processing may cause the alias build to fail.
9898
9999 Mapfile format
100100 ===============
....@@ -119,7 +119,7 @@
119119
120120 Header line
121121 The header line is the first line in the file, which is
122
- always _IGNORED_. It can empty.
122
+ always _IGNORED_. It can be empty.
123123
124124 CPUID:
125125 CPUID is an arch-specific char string, that can be used
....@@ -138,15 +138,15 @@
138138 files, relative to the directory containing the mapfile.csv
139139
140140 Type:
141
- indicates whether the events or "core" or "uncore" events.
141
+ indicates whether the events are "core" or "uncore" events.
142142
143143
144144 Eg:
145145
146
- $ grep Silvermont tools/perf/pmu-events/arch/x86/mapfile.csv
147
- GenuineIntel-6-37,V13,Silvermont_core,core
148
- GenuineIntel-6-4D,V13,Silvermont_core,core
149
- GenuineIntel-6-4C,V13,Silvermont_core,core
146
+ $ grep silvermont tools/perf/pmu-events/arch/x86/mapfile.csv
147
+ GenuineIntel-6-37,v13,silvermont,core
148
+ GenuineIntel-6-4D,v13,silvermont,core
149
+ GenuineIntel-6-4C,v13,silvermont,core
150150
151151 i.e the three CPU models use the JSON files (i.e PMU events) listed
152
- in the directory 'tools/perf/pmu-events/arch/x86/Silvermont_core'.
152
+ in the directory 'tools/perf/pmu-events/arch/x86/silvermont'.