Programming interfaces

6.10 z/VM guest

The monitor stream support base module exports two functions.

  • appldata_register_ops() to register data-gathering modules
  • appldata_unregister_ops() to undo the registration of data-gathering modules
Both functions receive a pointer to a struct appldata_ops as parameter. Additional data-gathering modules that want to plug into the base module must provide this data structure. You can find the definition of the structure and the functions in arch/s390/appldata/appldata.h in the Linux® source tree.
Tip: Include the timestamp, sync_count_1, and sync_count_2 fields at the beginning of the record as shown for the existing APPLDATA record formats.