5 * Describe each PMU event. Each CPU has a table of PMU events.
12 const char *long_desc;
20 * Map a CPU to its table of PMU events. The CPU is identified by the
21 * cpuid field, which is an arch-specific identifier for the CPU.
22 * The identifier specified in tools/perf/pmu-events/arch/xxx/mapfile
23 * must match the get_cpustr() in tools/perf/arch/xxx/util/header.c)
25 * The cpuid can contain any character other than the comma.
27 struct pmu_events_map {
30 const char *type; /* core, uncore etc */
31 struct pmu_event *table;
35 * Global table mapping each known CPU for the architecture to its
36 * table of PMU events.
38 extern struct pmu_events_map pmu_events_map[];