Intel® Advisor User Guide

ID 766448
Date 3/31/2023
Public

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

Document Table of Contents

strategy

Specify processes and/or children for instrumentation during Survey analysis.

Syntax

--strategy=<string>

Arguments

<string> is a comma-separated list (no spaces) in the format [process1 | child1:]profiling mode.

Available profiling modes include the following:

Argument

Description

trace:trace

Instrument process and all children.

trace:notrace

Instrument process but not children.

notrace:trace

Instrument children but not process.

notrace:notrace

Do not instrument process or children.

Default

Instrument all processes and children (strategy=trace:trace)

Actions Modified

collect=survey

Example

Process_A starts several processes:

Root >
   Process_A >
      Child_of_A_1
      Child_of_A_2
   Process_B >
      Child_of_B

Run a Survey analysis. Instrument Child_of_A_2 and all children of Process_B.

advisor --collect=survey --strategy=Root:notrace:notrace,Child_of_A_2:trace:notrace,Process_B:notrace:trace --project-dir=./advi_results -- ./myApplication

See Also