I re-past the log below
28817 28937 E lwi_interceptor: (28937): SocketMessagePort: Unable to connect socket: Unable to connect client Unix (AF_UNIX) socket with socket no. 0 to abstract Unix socket "\0aga-daemon": errno = 111 (Connection refused)28817 28937 E lwi_interceptor: (28937): Interceptor: MGD failed to read the process whitelist file: ios_base::clear: unspecified iostream_category error28817 28937 E lwi_interceptor: (28937): Interceptor: Headless config file specified was not found28817 28937 E lwi_interceptor: (28937): Interceptor: Unable to create message port - using null
What's the actual error you are getting, and at what point does Performance Advisor fail? The logcat snippet you've posted shouldn't be relevant - these messages are a left-over from some shared components with Graphics Analyzer and will be removed in the next release, but it shouldn't cause anything to fails.
Kind regards, Pete
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
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?