Hi,
I would like to know if the Adreno Profiler supports profiling native applications on (rooted) Android devices. By native I mean actual executable ELF binaries that are not launched by the Java layer at all.
I had a couple of unsuccessful attempts so far (Nexus 5, Adreno 330), though the properties (debug.egl.profiler) have been set accordingly. The profiler always claims that there is no app running that supports profiling.
Same to wawro, I tried Snapdragon Profiler and Adreno Profiler.
either said no device or no app.
I used msm8996 board, with Adreno 530 GPU.
Is this an OpenGL application you are trying to capture or OpenCL? If your native application initializes EGL with eglInitialize it should work on Adreno Profiler for profiling OpenGL. For OpenCL applications it should work as long as you call clGetPlatformIDs.
Executable in question is a EGL/GLES application, i.e. it uses egInitialize()
@wawro Just to clarify you are trying to use Adreno Profiler and not Snapdragon Profiler with your Nexus 5 right? Since you already verified that the debugging property is set properly I think the other thing to check should be internet permissions. For Adreno Profiler to work on Android apk's you need to enable the internet permission so the profiling layer can communicate back with the tool. I'm curious if something is preventing your native application from opening sockets.
@iloveryoko For your setup as opposed to wawro Adreno Profiler wont work as we only recommend Adreon Profiler for Adreno 300 series and below. Can you please make sure you have started your application on the device after you connect to the device in Snapdragon Profiler? If yours is also a native executable like wawro's then the reply I just did to him might be relevant to you too about making sure your application has internet permissions.