Quantcast
Channel: C#
Viewing all articles
Browse latest Browse all 1853

Collecting Data Remotely from the VTune Amplifier GUI

$
0
0

Use the Intel® VTune™ Amplifier graphical interface running on the host system to configure and run performance analysis on a remote regular or embedded Linux* system or Android* device.

Note

Remote analysis on embedded Linux and Android systems is supported by the VTune Amplifier for Systems, part of the Intel System Studio.

Prerequisites:

  1. Your remote Linux or Android system is configured for analysis with the VTune Amplifier.

  2. Your application is built with debug information enabled.

To collect performance data remotely from the standalone graphical interface of the VTune Amplifier:

  1. Create a project in the VTune Amplifier.

    The Project Properties dialog box opens with the Target tab active.

  2. From the Target system drop-down menu, select the type of your remote system.
    • Choose remote Linux (SSH) for an embedded or regular Linux system.

      The SSH details configuration option shows up.

    • Choose Android device (ADB) for an Android system.

      The Choose a device menu shows up.

  3. Configure remote connection details:
    • For the Android ADB connection, select a device from the Choose a device drop-down menu.

    • For the Linux SSH connection, in the SSH details field enter the username and hostname for your remote machine in the username@hostname format.

  4. From the Target type drop-down menu, select your profiling target.
    • For Linux systems, you may select any type of the profiling target: application, process, or system analysis.

    • For Android systems, select any of the following targets:

      • Launch Application to specify an Android binary as a target (not supported for the Basic Hotspots analysis)

      • Launch Android Package to specify an apk file as a target. To see a list of available packages, click the Browse button and select the required package from the Select Package dialog box.

      • Attach to Process to specify a PID or name of the Android process to analyze. Click the Browse button and select the required process in the Select Process dialog box.

      • Profile System for system-wide analysis. System-wide analysis on Android is possible on rooted devices only. To run the event-based sampling collection system-wide, makes sure to disable the call stack analysis.

    When you select a target, the Target tab is updated with the corresponding target properties.

  5. Specify the target and configure target properties, if required.

    Note

    • If you installed the VTune Amplifier to a non-default directory on the remote system, make sure to specify this path using the VTune Amplifier installation directory on the remote system option.

    • VTune Amplifier temporarily stores data collection results in the /tmp directory on the remote system. If you use a different temporary directory, make sure to specify it with the Temporary directory on the remote system option.
  6. Switch to the Binary/Symbol Search tab and Source Search tab to specify search directories required for proper symbol resolution.
  7. Click OK to save your settings and close the Project Properties dialog box.
  8. On the VTune Amplifier toolbar, click the New Analysis button to choose an analysis type for your remote collection.

    The Analysis Type window opens.

  9. Select an analysis type from the tree in the left pane.

    The right pane is updated with the configuration options for the selected analysis type.

    Note

    For remote analysis on Android systems, the VTune Amplifier for Systems supports only Basic Hotspots and hardware event-based sampling analysis types. You may analyze power consumption on your Android system using the Intel Energy Profiler's collector, Intel SoC Watch or WuWatch (depending on the hardware).

  10. Configure the analysis options and click the Start button on the right to run the analysis. VTune Amplifier connects to the remote system via SSH (Linux) or ADB (Android), launches your analysis target remotely, collects the performance data on the remote system, copies the collected result to the host machine, and opens it in the default VTune Amplifier viewpoint.
Inglese

Viewing all articles
Browse latest Browse all 1853

Trending Articles