easy_profiler icon indicating copy to clipboard operation
easy_profiler copied to clipboard

easy_profiler on Android: Bad CSwitch block size

Open corporateshark opened this issue 6 years ago • 2 comments

I built easy_profiler_core for Android using .mk files (no cmake) and linked it to my app as a static library. I added a few profiling blocks (all top-level blocks are closed as described in #135). After the app has finished, I download the test_profile.prof to my PC and try loading it via precompiled profiler_gui.exe (binary release from GitHub). Here is the error message I am getting:

image

What might be the issue?

P.S. I checked #138 as well. No good.

corporateshark avatar Jun 19 '19 12:06 corporateshark

I tried to run my app for some longer time and got a bigger .prof file. This time GUI just crashed while trying to load test_profile.prof.

corporateshark avatar Jun 19 '19 12:06 corporateshark

I am stuck on similar issue and trying to check if I have a unclosed block thats preventing it. Another issue was that I was using shared library and somewhere i read that we need to define the macro in all make files for shared libs to profile code in shared libs.

I think lib should provide some way to discard unclosed blocks or at least provide better error message.

sarbjit-longia avatar Jun 20 '19 03:06 sarbjit-longia