You copied the Doc URL to your clipboard.

Attributes for custom, filesystem, and ftrace counters in the events XML file

Events XML files define the counters that you can select in the Counter Configuration dialog box. In order to add custom, filesystem, or ftrace counters to gator, you must define them in your events XML file.

For descriptions of the valid XML nodes and attributes you can use in the events XML file, see the gator protocol documentation, located in <DS-5_install_directory>/arm/gator/protocol/. In addition, the following attributes are specific to Filesystem and Ftrace counters:

regex
A POSIX-extended regular expression used to extract a value from a file.
path
The absolute path and name of a file, for example /proc/stat.
enable
For ftrace counters only, specifies an ftrace event to enable. This attribute is optional.
Was this page helpful? Yes No