This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

no meerkat folder was generated on mobile phone when I use "python lwi_me.py "

I use Arm Mobile Studio 2022.3, and logcat's output shown as below, I wonder 
1) is it required to start aga-daemon on mobile phone ?
2) is it require to start graphic analyzer on windows ?
3) what does the log mean?  Is it cause that no meerkat folder generated on mobile phone ?
Parents
  • Thanks for you rely firstly.

    I want to use Performance Advisor to a non-debuggable application (assuming it is com.tencent.tmgp.sgame) on a user build android phone. Steps as follow

    1. adb root

    2. enable ro.debuggable, which makes Graphic Analyze works, I have tested.

    3.  modify lwi_me.python to hard code the variable package to com.tencent.tmgp.sgame, and replace run-as command to the corresponding plain command, lastly rename the file to lwi_hou.py. details shown in the following figure

    4. python lwi_hou.py
    5. gatord --android-pkg=com.tencent.tmgp.sgame
    6. start com.tencent.tmgp.sgame,  BTW, I have not found folder meerkat on the phone.
    7. capture counter with streamline using TCP connection, it works fine.
    8. terminate the execution of lwi_hou.py above after stopping the streamline
    everything above works as expectation, but folder lwi-out-<data and time> is empty.
Reply
  • Thanks for you rely firstly.

    I want to use Performance Advisor to a non-debuggable application (assuming it is com.tencent.tmgp.sgame) on a user build android phone. Steps as follow

    1. adb root

    2. enable ro.debuggable, which makes Graphic Analyze works, I have tested.

    3.  modify lwi_me.python to hard code the variable package to com.tencent.tmgp.sgame, and replace run-as command to the corresponding plain command, lastly rename the file to lwi_hou.py. details shown in the following figure

    4. python lwi_hou.py
    5. gatord --android-pkg=com.tencent.tmgp.sgame
    6. start com.tencent.tmgp.sgame,  BTW, I have not found folder meerkat on the phone.
    7. capture counter with streamline using TCP connection, it works fine.
    8. terminate the execution of lwi_hou.py above after stopping the streamline
    everything above works as expectation, but folder lwi-out-<data and time> is empty.
Children
  • The on-device meerkat directory is only needed if you want to collect slow-frame screenshots, and it looks like you have --lwi-mode set to "n", which won't collect them.

  • Folder meerkat was generated when I used command "python lwi_hou.py --package com.tencent.tmgp.sgame --lwi-fps-threshold 50 --lwi-mode tag", and it has 2 files: "meerkat.conf" and "slow_frames". when I run command pa as the figure shown, it give error " Cannot find any frames. Please refer to the user guide for methods of providing frame data to Performance Advisor.", and not report was generated. 

  • That error means that frame boundaries were not detected in Streamline data. These come from tool layer driver that is loaded. The data directory is not relevant to this error.

    Is there any indication in logcat that the layer was actually loaded correctly? Please can you share the full logcat capture?  

    Kind regards, 
    Pete