I have gone through "http://bricolsoftconsulting.com/how-to-enable-native-heap-tracking-in-ddms" for enabling the native heap tab in DDMS.
I am stuck at getting correct versions of "libc_malloc_debug_leak.so" and "libc_malloc_debug_qemu.so" required to get native heap logs. I followed the instruction at link and extracted the required so files from CyanogenMod ROM that most closely matches your phone’s model and minor Android OS version.
When I place these file in my rooted android phone and try to debug with DDMS, I can see dlopen for libc_malloc_debug_leak.so fails saying "bad ELF magic". If I am not wrong this must be because I am not using the correct version of these SO files.
Two queries,
Is there any way to get the proper versions for these files.
Is there any other way to track down native heap in android rather than using DDMS?
Regards,