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