Lines Matching +full:single +full:- +full:cpu

9 tree tools/perf/pmu-events/arch/foo.
11 - Regular files with '.json' extension in the name are assumed to be
14 - The CSV file that maps a specific CPU to its set of PMU events is to
17 - Directories are traversed, but all other files are ignored.
19 - To reduce JSON event duplication per architecture, platform JSONs may
25 The PMU events supported by a CPU model are expected to grouped into topics
26 such as Pipelining, Cache, Memory, Floating-point etc. All events for a topic
27 should be placed in a separate JSON file - where the file name identifies
28 the topic. Eg: "Floating-point.json".
30 All the topic JSON files for a CPU model/family should be in a separate
31 sub directory. Thus for the Silvermont X86 CPU:
33 $ ls tools/perf/pmu-events/arch/x86/Silvermont_core
34 Cache.json Memory.json Virtual-Memory.json
37 The JSONs folder for a CPU model/family may be placed in the root arch
38 folder, or may be placed in a vendor sub-folder under the arch folder
42 'pmu-events.c', which encodes the two sets of tables:
44 - Set of 'PMU events tables' for all known CPUs in the architecture,
61 - A 'mapping table' that maps each CPU of the architecture, to its
75 After the 'pmu-events.c' is generated, it is compiled and the resulting
76 'pmu-events.o' is added to 'libperf.a' which is then used to build perf.
81 to a single 'PMU events table'.
83 2. The 'pmu-events.h' has an extern declaration for the mapping table
84 and the generated 'pmu-events.c' defines this table.
86 3. _All_ known CPU tables for architecture are included in the perf
89 At run time, perf determines the actual CPU it is running on, finds the
93 $ perf stat -e pm_1plus_ppc_cmpl sleep 1
102 The mapfile enables multiple CPU models to share a single set of PMU events.
125 CPUID is an arch-specific char string, that can be used
126 to identify CPU (and associate it with a set of PMU events
131 CPUID == 'GenuineIntel-6-2E' (on x86).
137 is the pathname to the directory containing the CPU's JSON
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
151 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'.