Intel® Inspector User Guide for Linux* OS

ID 767796
Date 5/15/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Command Syntax Alternatives and Rules

Syntax Alternatives

The Intel Inspectorinspxe-cl command offers the following syntax alternatives for specifying options and arguments:

Syntax

Alternative

Valid Command Snippets

-option

--option

inspxe-cl -version

inspxe-cl--version

-option argument

-option=argument

inspxe-cl -c ti2

inspxe-cl -c=ti2

-option (long name)

-o (short name, as defined in the -help)

inspxe-cl -verbose

inspxe-cl -v

-option (long name)

-n-n (implicit short name composed from initial letters of option name fragments)

inspxe-cl-create-suppression-file

inspxe-cl -c-s-f

NOTE:

If an implicit short name is ambiguous, the inspxe-cl command reports a syntax error.

-option argument1,argument2

-option=argument1 -option=argument2

inspxe-cl -option-file file1,file2

inspxe-cl -option-file file1 -option-file file2

NOTE:

Make sure there are no spaces after commas.

You may mix and match syntax alternatives. For example, the following commands are equivalent:

inspxe-cl -collect ti2 -result-dir myRes -suppression-file mySup -- myApp

inspxe-cl -collect=ti2 -r myRes --s-f mySup -- myApp

Other Syntax Rules

  • Options that appear before [-- application [application options]] can appear in any order.

  • If an argument contains spaces, enclose the argument in quotation marks.

  • There are two ways to specify multiple options. One is to use multiple option=value pairs; the other is to use the option followed by a list of comma-separated values with no spaces.

  • Two single-character short names cannot be combined after a single dash.

  • Both short names and long names are case-sensitive. For example, -R is the short name of the report action, and -r is the short name of the result-dir action-option.