インテル® VTune™ Amplifier 2018 ヘルプ

Configuring Yocto Project* and Intel® VTune™ Amplifier with the Intel System Studio Integration Layer

Intel® VTune™ Amplifier can collect and analyze performance data on embedded Linux* devices running Yocto Project*. This topic provides an example of setting up the VTune Amplifier to collect performance data on an embedded device with Yocto Project 1.8 installed using the Intel System Studio integration layer provided with the product installation files. The process integrates the VTune Amplifier product drivers with the target package and includes them in the embedded device image. Root access to the kernel is required.

Install the Intel System Studio Integration Layer

Prerequisite: Install Intel System Studio on the host system.

  1. Copy the integration layer from the Intel System Studio installation folder to the Yocto Project development folder. For example:

    cp -r /opt/intel/system_studio_2017.0.0/wr-iss-2017 /path/to/poky-fido-10.0.0/
  2. Run the post-installation script. For example:

    cd /path/to/poky-fido-10.0.0
    wr-iss-2017/yp-setup/postinst_yp_iss.sh /opt/intel/system_studio_2017.0.0

Add the Intel VTune Amplifier Recipe

  1. Add the path to the wr-iss-<version> to the bblayer.conf file. For example:

    vi /path/to/poky-fido-10.0.0/build/conf/bblayers.conf
    BBLAYERS = "$HOME/source/poky/wr-iss-2017\"

    Your file should look similar to the following:

    BBLAYERS ?= " \
      $HOME/source/poky/meta \
      $HOME/source/poky/meta-poky \
      $HOME/source/poky/meta-yocto-bsp \
      $HOME/source/poky/meta-intel \
      $HOME/source/poky/wr-iss-2017 \
      "
  2. Add the Intel VTune Amplifier recipe to conf/local.conf. Two recipes are available, intel-iss-vtune-target and intel-iss-vtune-sep-target. In this example, the intel-iss-vtune-target is used so the analysis can be run from the VTune Amplifier GUI on the host system.

    vi "conf/local.conf"
    IMAGE_INSTALL_append = " intel-iss-vtune-target"

    Note

    You cannot add both intel-iss-vtune-target and intel-iss-vtune-sep-target at the same time.

Build and Flash the Target Operating System

  1. Build the target operating system. For example:

    bitbake core-image-sato
  2. Flash the operating system to the embedded device.

Configure and Run Remote Analysis

Use the following steps on the host system to set up and launch the analysis on the embedded device:

  1. Set up a password-less SSH access to the target using RSA keys.

  2. Create a new project.

  3. Select the remote Linux (SSH) analysis target and specify the collection details.

  4. Configure the analysis type.

  5. Start the analysis.

関連情報