Intel® VTune™ Amplifier
Use the Intel® VTune™ Amplifier for performance analysis on Embedded Linux* systems, Wind River*, Yocto Project*, FreeBSD* and others.
Embedded device performance data can be collected remotely on the embedded device and running the analysis from an instance of VTune Amplifier installed on the host system. This is useful when the target system is not capable of local data analysis (low performance, limited disk space, or lack of user interface control).
Root access to the operating system kernel is required to install the collectors and drivers required for performance analysis using VTune Amplifier.
There are multiple ways to enable performance analysis on an embedded device:
The Intel System Studio integration layer works for embedded systems with Wind River Linux or Yocto Project installed.
The Intel System Studio integration layer allows the Intel System Studio products to be fully integrated with a target operating system by building the drivers and corresponding target packages into the operating system image automatically. Use this option in the case where a platform build engineer has control over the kernel sources and signature files, but the application engineer does not. The platform build engineer can integrate the product drivers with the target package and include them in the embedded device image that is delivered to the application engineer.
1. Install Intel System Studio. |
Install Intel System Studio using the installer GUI. |
2. Install the Intel System Studio integration layer. |
|
3. Build the recipe that includes the appropriate VTune Amplifier package. |
|
4. Build the target operating system. |
Build the target operating system, which will complete the integration of the VTune Amplifier collectors and drivers. |
5. Flash the operating system to the target embedded device. |
After flashing the operating system to the target embedded device, ensure that the appropriate VTune Amplifier drivers are present. For more information, see Building the Sampling Drivers for Linux Targets. |
6. Run the analysis on the target embedded device. |
Run the analysis is from the host system using an SSH connection or using the SEP commands. Use the following steps to run the analysis from the host system:
Use the information available in the Sampling Enabling Product User's Guide to run the SEP commands. |
7. View results in the VTune Amplifier GUI |
View the collected results on the host. |
Examples
Configuring Yocto Project* with the Intel System Studio Integration Layer
The Intel VTune Amplifer Yocto Project integration layer builds the drivers into the operating system image automatically. Use this option in the case where a platform build engineer has control over the kernel sources and signature files, but the application engineer does not. The platform build engineer can integrate the product drivers with the target package and include them in the embedded device image that is delivered to the application engineer.
1. Install Intel VTune Amplifier. |
Install Intel VTune Amplifier. |
2. Configure the integration layer. |
|
3. Build the target operating system. |
Build the target operating system, which will complete the integration of the VTune Amplifier collectors and drivers. |
4. Flash the operating system to the target embedded device. |
After flashing the operating system to the target embedded device, ensure that the appropriate VTune Amplifier drivers are present. For more information, see Building the Sampling Drivers for Linux Targets. |
5. Run the analysis on the target embedded device. |
Run the analysis is from the host system using an SSH connection or using the SEP commands. Use the following steps to run the analysis from the host system:
Use the information available in the Sampling Enabling Product User's Guide to run the SEP commands. |
6. View results in the VTune Amplifier GUI |
View the collected results on the host. |
Example
Configuring Yocto Project with the VTune Amplifier Integration Layer
You can build the appropriate drivers and install the VTune Amplifier collectors on your kernel image manually with a command line. This option requires root access to the configured kernel source.
1. Install Intel VTune Amplifier. |
Install using the installer GUI. |
2. Run the analysis on the target embedded device. |
Use the following steps to run the analysis from the host system:
|
3. View results in the VTune Amplifier GUI |
View the collected results on the host. |
Troubleshooting
If the drivers were not built during collector installation, the installation output should inform you that building the sampling driver is required.
The drivers are built either on the target system or on the host system, depending on compiler toolchain availability:
If the compiler toolchain is available on the target system:
If the compiler toolchain is not available on the target system:
For more information, see Building the Sampling Drivers for Linux Targets.
Example
Configuring Yocto Project with Intel VTune Amplifier Target Packages