aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/perf/hv-24x7-catalog.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/perf/hv-24x7-catalog.h')
-rw-r--r--arch/powerpc/perf/hv-24x7-catalog.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/powerpc/perf/hv-24x7-catalog.h b/arch/powerpc/perf/hv-24x7-catalog.h
index 21b19dd86d9c..69e2e1faf902 100644
--- a/arch/powerpc/perf/hv-24x7-catalog.h
+++ b/arch/powerpc/perf/hv-24x7-catalog.h
@@ -30,4 +30,29 @@ struct hv_24x7_catalog_page_0 {
30 __u8 reserved6[2]; 30 __u8 reserved6[2];
31} __packed; 31} __packed;
32 32
33struct hv_24x7_event_data {
34 __be16 length; /* in bytes, must be a multiple of 16 */
35 __u8 reserved1[2];
36 __u8 domain; /* Chip = 1, Core = 2 */
37 __u8 reserved2[1];
38 __be16 event_group_record_offs; /* in bytes, must be 8 byte aligned */
39 __be16 event_group_record_len; /* in bytes */
40
41 /* in bytes, offset from event_group_record */
42 __be16 event_counter_offs;
43
44 /* verified_state, unverified_state, caveat_state, broken_state, ... */
45 __be32 flags;
46
47 __be16 primary_group_ix;
48 __be16 group_count;
49 __be16 event_name_len;
50 __u8 remainder[];
51 /* __u8 event_name[event_name_len - 2]; */
52 /* __be16 event_description_len; */
53 /* __u8 event_desc[event_description_len - 2]; */
54 /* __be16 detailed_desc_len; */
55 /* __u8 detailed_desc[detailed_desc_len - 2]; */
56} __packed;
57
33#endif 58#endif