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