With Intel® System Studio 2017, we will continue to support Intel® VTune™ Amplifier 2017 for Systems on OS X*. You can use Intel VTune Amplifier to analyze the performance result captured from Windows*, Linux*, Android*, and FreeBSD*. All test steps below are performed on OS X* El Capitan 10.11.5. To download the package, follow these steps:
- Go to Intel System Studio.
- Choose Linux* as the target OS.
- Select Professional Edition
- Click Download FREE Trial. After completing the registration, the page below displays. The main package is vtune_amplifier_2017_update1_for_systems.dmg.
The .dmg compressed file includes an installation guide (release_notes_amplifier_for_systems_osx.pdf), VTune installation file, and the release notes, which contain the updates for 2017. Double-click the VTune installation file and choose “Install as root”. The VTune application in Launchpad displays as shown in the following figure.
OS X* 10.5 supports ssh-agent, making it easy to configure a password-less ssh tunnel for VTune remote profiling usage.
host> cat ~/.ssh/id_rsa.pub | ssh user@target 'cat >> ~/.ssh/authorized_keys'
By performing the commands above, you can easily establish an ssh tunnel between the host and target machines after without a password. For versions earlier than OS X* 10.5, you may need to copy the VTune result files/folder from the target machine back to the host, and then open the result files via the VTune interface to perform the analysis task on host machine. Winscp is a useful tool for performing an scp command.
As shown in the following figure, our example profiling target is running Ubuntu*. You need to choose “remote Linux(SSH)”, fill-in the target IP address/user account for Analysis Target, and give the application a name you plan to profile. After that, you can select the basic hotspot analysis type, advanced hotspot, or other analysis types for Analysis type, and then click start to begin collecting the performance logs remotely.
Once the log collection process is finished (you can setup the collection time range or stop the collection whenever you like), VTune will display the profiling data. The following image shows the performance analysis screen in VTune. For further reading and details, see the Support page for VTune.
If the host machine detects an incompatible version of the data collector on the remote target (as shown below), deploy the matched target files in the target machine. Each release of VTune will contain the performance log viewer (GUI) and the corresponding target files (data collectors, kernel drivers.)