OTF2 Format Support

Note

This is a preview feature. A preview feature may be changed or removed in a future production release.

Apart from the native STF format, Intel® Trace Analyzer can also open trace files in the OTF2 format (Open Trace Format, version 2). However, before opening an OTF2 trace file, Intel Trace Analyzer needs to convert it to STF. There are two options to do this:

  • Use the command-line otf2-to-stf utility. See otf2-to-stf Utility for details.

  • Use the conversion dialog box when opening the OTF2 file. See the instructions below.

To open an OTF2 trace file, do the following:

  1. Invoke the Intel Trace Analyzer:

    $ traceanalyzer &
  2. Go to File > Open.

  3. From the Files of type field select Open Trace Format, navigate to the .otf2 file and double-click it open.

  4. The OTF2 to STF conversion dialog appears. Review the available fields and checkboxes and click Start to start conversion.

As a result, the OTF2 file will be converted to STF, and you will be able to view it in Intel Trace Analyzer.

There are currently a few limitations related to this functionality:

  • The functionality is available on Linux* OS only.

  • Identification of function locations in source code is not supported.

  • Due to limitations in the OTF2 API, the converter may improperly write information about non-blocking collective operations.

See Also

OTF2 to STF Conversion Dialog Box

For more complete information about compiler optimizations, see our Optimization Notice.