Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help
Use this configuration to specify an application (a native Linux* application running on Android*) to analyze with the Intel® VTune™ Amplifier on an Android device via ADB connection.
Prerequisites: Make sure to prepare your target Android system for analysis:
Configure your Android device for analysis.
Gain adb access through TCP/IP to an Android device.
To enable hardware-event-based sampling analysis or Java* analysis, gain root mode adb access to the Android device.
Depending on your system configuration, you may not need to gain a root mode access for Advanced Hotspots, General Exploration and Custom EBS analysis types.
To enable hardware-event-based sampling analysis, verify that version compatible pre-installed signed drivers are on the target Android system.
To access the analysis target configuration, open the Analysis Target window, choose the Android device (ADB) target system on the left, select the Launch Application target type from the drop-down menu on the right and in the via ADB on device drop-down menu select your plugged in Android device.
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.
Use This |
To Do This |
---|---|
Application field |
Specify a full path to the application to analyze, which can be a binary file or script. |
Application parameters field |
Specify input parameters for your application. Click the Modify button to choose a file or a folder as an input. |
Automatically resume collection after (sec) |
Specify the time that should elapse before the data collection is resumed. When this options is used, the collection starts in the paused mode automatically. |
Automatically stop collection after (sec) |
Set the duration of data collection in seconds starting from the target run. This is useful if you want to exclude some post-processing activities from the analysis results. |
Managed code profiling mode menu |
Select a profiling mode for managed code. Managed mode attributes data to managed source and only collects managed portion. Native mode collects everything but does not attribute data to managed source. Mixed mode collects everything and attributes data to managed source where appropriate. |
Use the Advanced section to provide more details on your target configuration.
Use This |
To Do This |
---|---|
Analyze unplugged device check box |
Enable collection on an unplugged device to exclude ADB connection and power supply impact on the results. When this option is used, you configure and launch an analysis from the host but data collection starts after disconnecting the device from the USB cable or a network. Collection results are automatically transferred to the host as soon as you plug in the device back. |
Duration time estimate menu |
Estimate the application duration time. This value affects the size of collected data. For long running targets, sampling interval is increased to reduce the result size. For hardware event-based sampling analysis types, the VTune Amplifier uses this estimate to apply a multiplier to the configured sample after value. |
Allow multiple runs check box |
Enable multiple runs to achieve more precise results for hardware event-based collections. When disabled, the collector multiplexes events running a single collection, which lowers result precision. |
Analyze system-wide check box |
Enable analyzing all processes running on the system. When disabled, only the target process is analyzed. This option is applicable to hardware event-based sampling analysis types only. |
Limit collected data by section |
If the amount of raw collected data is very large and takes long to process, use any of the following options to limit the collected data size:
NoteThe size of data stored in the result directory may not exactly match the specified result size due to the following reasons:
|
CPU mask |
Specify CPU(s) to collect data on (for example: 2-8,10,12-14). This option is applicable to hardware event-based analysis types only. |
Custom collector |
Provide a command line for launching an external collection tool, if any. You can later import the custom collection data (time intervals and counters) in a CSV format to a VTune Amplifier result. Click the Modify button to add a path to your external collector. |
Result location options |
Select where you want to store your result file. By default, the result is stored in the project directory. |
Click the Choose Analysis button on the right to switch to the Analysis Type tab for selecting, configuring, and launching an analysis. The Analysis Type tab displays analysis types applicable to the specified target type.
You can launch an analysis only for an accessible target. For an arbitrary target, you can only generate a command line configuration, save it to the buffer and later launch it on the intended host.