Intel® Trace Analyzer and Collector User and Reference Guide

ID 767272
Date 3/31/2023
Public
Document Table of Contents

otf2-to-stf Utility

NOTE:

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

Synopsis

otf2-to-stf <options> <OTF2 file> 
--help
--version

Description

Use this utility to convert an OTF2 trace file to the STF format to be able to view the trace file in Intel® Trace Analyzer. After conversion the resulting file appears in the same directory as the input file.

NOTE:

The otf2-to-stf utility is available on Linux* OS only. 

Options

p2p

Syntax:--p2p

Default:off

Description: Store information about sending and receiving functions for point-to-point operations. This option significantly increases conversion time.

user-func

Syntax:--user-func

Default:off

Description: Store user functions as separate events. By default, all user functions are joined into the User_Code block. This option significantly increases the trace file size.

singlestf-no

Syntax:--singlestf-no

Default: single-STF format is enabled

Description: Save each STF component in a separate file.

Examples

otf2-to-stf --p2p example.otf2 # identification of sending and receiving functions for point-to-point operations
otf2-to-stf --user-func example.otf2 # create separate events for each user function
otf2-to-stf --singlestf-no example.otf2 # use the many-file STF format as output