1
2 #ifndef PMU_EVENTS_H
3 #define PMU_EVENTS_H
4
5
6
7
8 struct pmu_event {
9 const char *name;
10 const char *event;
11 const char *desc;
12 const char *topic;
13 const char *long_desc;
14 const char *pmu;
15 const char *unit;
16 const char *perpkg;
17 const char *metric_expr;
18 const char *metric_name;
19 const char *metric_group;
20 };
21
22
23
24
25
26
27
28
29
30
31 struct pmu_events_map {
32 const char *cpuid;
33 const char *version;
34 const char *type;
35 struct pmu_event *table;
36 };
37
38
39
40
41
42 extern struct pmu_events_map pmu_events_map[];
43
44 #endif