1
2 #ifndef LINUX_POWERPC_PERF_HV_24X7_CATALOG_H_
3 #define LINUX_POWERPC_PERF_HV_24X7_CATALOG_H_
4
5 #include <linux/types.h>
6
7
8
9 struct hv_24x7_catalog_page_0 {
10 #define HV_24X7_CATALOG_MAGIC 0x32347837
11 __be32 magic;
12 __be32 length;
13 __be64 version;
14 __u8 build_time_stamp[16];
15 __u8 reserved2[32];
16 __be16 schema_data_offs;
17 __be16 schema_data_len;
18 __be16 schema_entry_count;
19 __u8 reserved3[2];
20 __be16 event_data_offs;
21 __be16 event_data_len;
22 __be16 event_entry_count;
23 __u8 reserved4[2];
24 __be16 group_data_offs;
25 __be16 group_data_len;
26 __be16 group_entry_count;
27 __u8 reserved5[2];
28 __be16 formula_data_offs;
29 __be16 formula_data_len;
30 __be16 formula_entry_count;
31 __u8 reserved6[2];
32 } __packed;
33
34 struct hv_24x7_event_data {
35 __be16 length;
36 __u8 reserved1[2];
37 __u8 domain;
38 __u8 reserved2[1];
39 __be16 event_group_record_offs;
40 __be16 event_group_record_len;
41
42
43 __be16 event_counter_offs;
44
45
46 __be32 flags;
47
48 __be16 primary_group_ix;
49 __be16 group_count;
50 __be16 event_name_len;
51 __u8 remainder[];
52
53
54
55
56
57 } __packed;
58
59 #endif