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.

$ advixe-cl --collect=survey --strategy=Root:notrace:notrace,Child_of_A_2:trace:notrace,Process_B:notrace:trace 
Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.