XML report

To print the XML report, specify the -X option.

By default the report is printed to standard output. The -o filename flag allows you to redirect the report to a file. When the -O affinity option is used, affinity information is added to the report.
Note: The -O affinity=detail option can take a long time to compute.

The extension of XML reports is .svm. To prevent a report overwrite, the option -O overwrite=off option can be specified (by default this option is set to on).

This XML file uses a XML Schema Definition (XSD) which can be found in the file: /usr/lib/perf/svmon_measurement.xsd. This schema is self-documented and thus can be used by anyone to build custom application using the XML data provided in these reports.

The data provided in this file is a snapshot view of the whole machine. It contains enough data to build an equivalent of the -G, -P, -S, -W, -U, and -C options.