ARM® DS-5TM Streamline Performance Analyzer, part of the ARM DS-5 toolchain, is an useful tool for developers doing system level software optimization for ARM Linux and Android platforms. Streamline makes it easy for platform and app developers to mitigate performance bottlenecks, improve code parallelization, extend battery life, and enhance user experience.With Streamline Performance Analyzer you can:
To use the DS-5 Streamline Performance Analyzer users/developers first have to build DS-5 Gator driver/daemon to setup their own target. It is very inconvenient, especially for those application/app middleware developers who do not care what the target device is and do not have easy access to the kernel headers for their device or do not know how to build a kernel driver. To resolve this problem and make it easy for developers to use the DS-5 streamline performance analyzer to profile/optimize their program/apps we worked with our key partner, Allwinner Technology, a leading fabless semiconductor company in China, to preloaded ARM DS-5 Gator to their Android 4.0 HDMI Dongle — Rikomagic MK802II MINI PC.
With Gator preloaded on the MINI smart dongle, developers can connect it to any HDMI display device and profile their Android apps/programs directly.Below are the detailed steps to start DS-5 streamline profiling with this Android MINI dongle.Steps:1. Purchase Rikomagic MK802II MINI PC Please be aware that you need to leave a message like "developer usage -- ARM DS-5 Gator preloaded needed" or contact online purchase service center when you make the order to be sure you get the correct dongle shipped. 2. Install dongle USB driver
If you are running DS-5 on Linux, you may have to modify /etc/udev/rules.d/51-android.rules per these instructions, the vendor ID for this device is "18D1" and you can use Linux command "lsusb" to verify it.
If you are running DS-5 Community Edition on a Mac you do not have to configure any drivers. 3. Download and install ARM DS-5
4. Start DS-5 gator
5. Profiling Apps on the Dongle with DS-5 Streamline
If Ethernet is not available, you can also use ADB to forward the TCP port from Dongle to your local host over a USB connection. The ADB command to forward the Streamline port to your local host is: adb forward tcp:8080 tcp:8080 In this case, you should enter "127.0.0.1" or "localhost" as the dongle IP address in following steps.
Conclusion:
ARM DS-5 Streamline is a powerful and cost-efficient solution for software profiling and performance analysis of apps/programs on Android and ARM Linux platforms. This article gives you a simple solution to start with Streamline profiling easily. For more about ARM DS-5 and how to use Streamline, please access the ARM Streamline web pages and the ARM DS-5 info center.
If you prefer Android/Linux and would like to setup the DS-5 streamline environment for your own target (perhaps your android device), please refer to the step-by-step blog, Setting Up Android Mobile Phone to Use ARM Streamline for Profiling.
Should you have any problems, please feel free to leave comments on the blog below.