Hi,
I'm Android device developer.
I'd like to prepare CI(Continuous Integration) environment using Streamline.
Is CI supporting for not only "Application Profiling" but also "System Profiling" setting ?
https://developer.arm.com/documentation/102009/0903/Running-Performance-Advisor-in-continuous-integration-workflows/Generate-performance-reports-automatically
According to this documentation, streamline_me.py is needed.
In my understanding, streamline_me.py is not used in case of "System Profiling" because this script needs to specify some target application for capturing.
Thus, I guess CI is only supporting "Application Profiling", is it correct ?
I know that Performance Advisor is not supported on "System Profiling".
So, I also want to know that apc file generation on "System Profiling" by CLI command is available or not.
Best Regards
Hi Hiroki, my name is Connor and I'm a developer on the Streamline team. If I understand your question correctly, you are looking for a way to create APCs with system profiling via the command line so you can use them in CI workflows. This absolutely is possible using streamline. However you will not be able to use the streamline_me.py script to do this. You are also correct that performance advisor does not support system profiling. To capture system-wide data on the command line, you will need to manually use the gator daemon (located at streamline-install-dir/bin/android/arm<64>/gatord) . You need to push this executable to your target device and run it with the --system-wide flag set to "yes" along with any other configurations required. This will enable system profiling. Once gatord terminates you will have an APC on your target device you can pull from the target device and use in CI workflows.To start with, I would suggest looking at the "Profile your System" section of the "Target Setup for Android" Guide, which explains how to get a system wide profile with gatord. You can then look at the "Set up a local capture on device using the command line" section of the Streamline User Guide to understand how to set specific configurations for gatord, such as specifying which counters you are interested in collecting data for. If you have any further questions, don't hesitate to ask! Kind Regards, Connor
Hi Connor
Thanks for your replying !
> To start with, I would suggest looking at the "Profile your System" section of the "Target Setup for Android" Guide, which explains how to get a system wide profile with gatord.I have experience of this step, and could get "System Profiling" data.However, it requires Streamline tool GUI control, that's why I sought alternative way for CI preparation.
> You can then look at the "Set up a local capture on device using the command line" section of the Streamline User Guide to understand how to set specific configurations for gatord, such as specifying which counters you are interested in collecting data for.Thank you. I could get "System Profiling" without using Streamline GUI.
To summarize,,,CI for "Application Profiling"https://developer.arm.com/documentation/102009/0903/Running-Performance-Advisor-in-continuous-integration-workflows/Generate-performance-reports-automatically
By referring this documentation, can generate Performance Advisor reports without using Streamline GUI.
CI for "System Profiling"https://developer.arm.com/documentation/101816/0904/Capture-a-Streamline-profile/Set-up-a-local-capture-on-a-device-using-the-command-line?lang=en
By referring this documentation, can generate apc file without using Streamline GUI.Then, finally we can check profile data on Streamline GUI by importing this apc file.
Please let me know if this understanding is correct or not.
Hi Hiroki, your understanding is correct. Apologies, I didn't notice that in the first link the guide still refers to using the GUI. Glad you got it working using the second link! :) Kind Regards, Connor