Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help
Specify which processes to analyze.
-strategy <process_name1>:<profiling_mode>,<process_name2>:<profiling_mode>,... |
Argument |
Description |
<process_name> | The name of the process to which the strategy configuration applies. If <process_name> is empty, the strategy configuration applies by default to all processes for which a profiling strategy is not specified. |
<profiling_mode> | The strategy for profiling the specified process. Possible values are: |
Value |
Description |
trace:trace | Collect data on the process, and its child processes. |
notrace:trace | Do not analyze the process, but collect data on its child processes. |
notrace:notrace | Ignore the process, and its child processes, while collecting data. |
trace:notrace | Analyze the process, but do not collect data on its child processes. |
Analyze both parent and child processes.
Use the strategy action-option to specify which processes to analyze, and which to ignore.
This option is not applicable to hardware event-based analysis types.
This example performs a Hotspots analysis where the strategy configuration limits data collection to the example process, and ignores its child processes.
$ amplxe-cl -collect hotspots -strategy :notrace:trace,example:trace:notrace /home/test/run_example.sh