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_install_directory/sw/streamline/protocol/gator/. In addition, the following attributes are specific to Filesystem and Ftrace counters:

A POSIX-extended regular expression used to extract a value from a file.
The absolute path and name of a file, for example /proc/stat.
For ftrace counters only, specifies an ftrace event to enable. This attribute is optional.
This has the same meaning as enable, but uses perf instead of ftrace when using user space gator. This attribute is optional.
Used in conjunction with tracepoint to specify the value to show. This attribute is optional. If not specified, the number of tracepoint events is counted.