Add an uncore peripheral to Streamline

Customize your Streamline reports with support for custom uncore peripheral Performance Monitoring Units (PMUs).

Procedure

  1. Create an events-<peripheral_name>.xml file and save it in <DS_install_directory>/sw/streamline/gator/daemon/.

  2. Include the following in the file:

    <counter_set name="<ID>_cnt" count="<NEVENTS>"/>
    
    <category name="<NAME>" counter_set="<ID>_cnt" per_cpu="no">
      <event .../ >
    </category>
    

    <ID> is a string that can contain letters, numbers, and underscores.

    <NEVENTS> is the maximum number of counters in the hardware.

    If the number of events is unlimited, the <counter_set> element and the counter_set="<ID>_cnt" attribute are not required.

  3. Add an <uncore_pmu> element to pmus.xml.

    See the comment at the top of the pmus.xml file for the required attributes.

  4. Rebuild gatord.