Intel® VTune™ Amplifier

Set Up Analysis Target

When you create a project for the Intel® VTune™ Amplifier performance analysis, you have to specify what you want to profile - your analysis target, which could be an executable file, a process, or a whole system.

  1. Open the Analysis Target window using any of the following options:

    • Click the Create Project button in the Create a Project dialog box.

    • Click the Configure Project toolbar button or select the Configure Project... option from the product menu.

    • Click the New Analysis toolbar button and click the Choose Target button on the command toolbar on the right.

    The result tab opens the Choose Target and Analysis Type window with the Analysis Target and Analysis Type tabs. The Analysis Target tab is active.

  2. From the left pane, select a type of target system, which is a system where a profiling session runs.

    The target system can be the same as the host system, which is a system where the VTune Amplifier GUI is installed. If you run an analysis on the same system where the VTune Amplifier is installed (i.e. target system=host system), such a target system is called local. Target systems other than local are called remote systems. But both local and remote systems are accessible targets, which means you can access them either directly (local) or via a connection (for example, SSH connection to a remote target).

    VTune Amplifier also provides an option to create a command line configuration for a platform NOT accessible from the current host, which is called an arbitrary target. For such a configuration, click the Arbitrary Targets toggle button at the bottom of the left pane.

    local host

    Run an analysis on the local host system.

    Note

    This type of the target system is not available for macOS*.

    remote Linux (SSH)

    Run an analysis on a remote regular or embedded Linux* system. VTune Amplifier uses the SSH protocol to connect to your remote system.

    Android device (ADB)

    Run an analysis on an Android device. VTune Amplifier uses the Android Debug Bridge* (adb) to connect to your Android device.

  3. For some of the target systems, specify additional parameters, such as:

    SSH destination

    Specify the username, hostname, and port (if required) for your remote Linux target system as username@hostname[:port].

    ADB destination

    Choose an Android device targeted for analysis. When the ADB connection is set up, the VTune Amplifier automatically detects available devices and displays them in the menu.

  4. Select an analysis target type:

    Launch Application

    Enable the Launch Application pane and choose and configure an application to analyze, which can be either a binary file or a script.

    Note

    This target type is not supported for the Basic Hotspots analysis of Android applications. Use the Attach to Process or Launch Android Package types instead.

    Attach to Process

    Enable the Attach to Process pane and choose and configure a process to analyze.

    Profile System

    Enable the Profile System pane and configure the system-wide analysis that monitors all the software executing on your system.

    Launch Android Package

    Enable the Launch Android Package pane to specify the name of the Android* package to analyze and configure target options.

    The following target configurations are available:

    Note

    For driverless event-based sampling data collection, VTune Amplifier supports local and remote Launch Application, Attach to Process and Profile System target types but their support fully depends on the Linux Perf profiling credentials specified in the /proc/sys/kernel/perf_event_paranoid file and managed by the administrator of your system using root credentials. For more information see the perf_event related configuration files topic at http://man7.org/linux/man-pages/man2/perf_event_open.2.html. By default, only user processes profiling at the both user and kernel spaces is permitted, so you need granting wider profiling credentials via the perf_event_paranoid file to employ the Profile System target type.

What's Next

  1. Click the Choose Analysis button on the command toolbar to select an analysis type.

  2. Optionally, click the Binary/Symbol Search and Source Search buttons on the command toolbar to configure search directories.

  3. Click the Start button on the command toolbar to run the performance analysis.

See Also