Specify whether child processes are included in collection results.
Configure Analysis window > WHAT pane> Analyze child processes options
The default is -follow-child, so that child processes are included in the collect action.
Use the no-follow-child action-option when you want to exclude child processes from collect action data collection and analysis. This option is recommended when profiling an application launched by a script.
In this example, only the myApp Linux* application will be profiled. No information will be collected about any child processes initiated by myApp.
$ amplxe-cl -collect hotspots -no-follow-child myApp -- /home/test/sample