I've managed to get it compiling by adjusting the Android makefiles(Android(_static).mk) to add the proper search paths. It now compiles, but no dmon.out file is generated after executing and closing (by minimizing using the home button and terminating the app by opening the task list and swiping it off the screen).
Edit: It didn't produce any gmon.out yet. I've just found out that the atexit(&SDL_Quit) was registered after the cleanup function for the profiler(atexit(&moncleanup)), thus never allowing it to fire, when used. This has been moved up to work properly in all cases(as well as all termination of the application being handled by exit(0) calls, instead of directly calling SDL_Quit.
Edit: Just tried it again after recompiling and installing: No gmon.out is generated on the LG-P710. It's got a Qualcomm MSM8225 Dual-core 1 GHz Cortex-A5 processor in it. According to https://www.arm.com/products/processors ... tex-a5.php
it's a ARMv7-A CPU. According to it's android_ndk_perf.py file this should be a armeabi-v7a CPU?
It says the supported devices are:
## Set of tested devices that are known to support perf.
SUPPORTED_DEVICES = set([
'mantaray', # Nexus 10
'nakasi', # Nexus 7 (2012)
So that's a 1,7 GHz Dualcore Cortex-A15 CPU(Nexus 10) and 1: 1,2 GHz Quadcore NVIDIA Tegra 3 T30L 2: 1,5 GHz Quadcore Qualcomm Snapdragon S4 Pro(Nexus 7) CPUs that are supported. Does this mean my device supports this profiling method? I still don't see any gmon.out being generated on either disk?
I'm using the compiled version(run ndk-build in the folder where it's repository is at(android-ndk-r12b\sources\android-ndk)). Both compile without problems as far as I can see? I've run it and terminated the application the usual way(pressing home until the tasks show, then swiping the app off the screen to terminate it). Why am I not getting a gmon.out in the SDCard root directory(or UniPCemu directory or external SD card root)?