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
addition, the following attributes are specific to
- A POSIX-extended regular expression used to extract a value from a file.
- The absolute path and name of a file, for example
ftracecounters only, specifies an
ftraceevent to enable. This attribute is optional.
- This has the same meaning as
enable, but uses
ftracewhen using user space gator. This attribute is optional.
- Used in conjunction with
tracepointto specify the value to show. This attribute is optional. If not specified, the number of tracepoint events is counted.