2 * Copyright IBM Corp. 2006
3 * Character device driver for writing z/VM APPLDATA monitor records
5 * Author(s): Melissa Howland <melissah@us.ibm.com>
9 #ifndef _ASM_390_MONWRITER_H
10 #define _ASM_390_MONWRITER_H
12 /* mon_function values */
13 #define MONWRITE_START_INTERVAL 0x00 /* start interval recording */
14 #define MONWRITE_STOP_INTERVAL 0x01 /* stop interval or config recording */
15 #define MONWRITE_GEN_EVENT 0x02 /* generate event record */
16 #define MONWRITE_START_CONFIG 0x03 /* start configuration recording */
18 /* the header the app uses in its write() data */
20 unsigned char mon_function
;
21 unsigned short applid
;
22 unsigned char record_num
;
23 unsigned short version
;
24 unsigned short release
;
25 unsigned short mod_level
;
26 unsigned short datalen
;
29 } __attribute__((packed
));
31 #endif /* _ASM_390_MONWRITER_H */