Continuous Integration on Streamline

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

Parents


  • 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

Reply


  • 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

Children