1 #ifndef LINUX_POWERPC_PERF_HV_24X7_CATALOG_H_
2 #define LINUX_POWERPC_PERF_HV_24X7_CATALOG_H_
4 #include <linux/types.h>
6 /* From document "24x7 Event and Group Catalog Formats Proposal" v0.15 */
8 struct hv_24x7_catalog_page_0
{
9 #define HV_24X7_CATALOG_MAGIC 0x32347837 /* "24x7" in ASCII */
11 __be32 length
; /* In 4096 byte pages */
12 __be64 version
; /* XXX: arbitrary? what's the meaning/useage/purpose? */
13 __u8 build_time_stamp
[16]; /* "YYYYMMDDHHMMSS\0\0" */
15 __be16 schema_data_offs
; /* in 4096 byte pages */
16 __be16 schema_data_len
; /* in 4096 byte pages */
17 __be16 schema_entry_count
;
19 __be16 event_data_offs
;
20 __be16 event_data_len
;
21 __be16 event_entry_count
;
23 __be16 group_data_offs
; /* in 4096 byte pages */
24 __be16 group_data_len
; /* in 4096 byte pages */
25 __be16 group_entry_count
;
27 __be16 formula_data_offs
; /* in 4096 byte pages */
28 __be16 formula_data_len
; /* in 4096 byte pages */
29 __be16 formula_entry_count
;