You copied the Doc URL to your clipboard.

Adding support to gatord for a new PMU

Use either of the following ways to add support for a new PMU to gatord.

To add support without having to rebuild gatord, do the following:

  • Create an XML file that defines the events generated by the new PMU.

  • Create an XML file that defines information about the new PMU. For the required format, see DS-5_install_directory/sw/streamline/gator/daemon/pmus.xml.

  • Restart gatord using the following flags:

    • –E to specify the location of the events XML file. This flag causes the events to be appended to the list of events that gatord supports.

    • –P to specify the location of the PMU XML file. This option causes the new PMU to be added to the list of PMUs defined in pmus.xml that gatord has built-in support for.

Alternatively, make the following changes, then rebuild gatord:

  • Add a line to pmus.xml describing the new PMU.

  • Create an events XML file, named events-xxx.xml in the gator daemon source directory, that defines the events generated by the new PMU.

Was this page helpful? Yes No