Hi Digambar, I have posted the following reply on a similar query yesterday to the "Android Linux Kernel Development" group:
I do not know how relevant it is for you but there are alternative "emulators" out there that can be customized by the user to e.g. track memory allocation and perform other debug tasks. I am specifically talking about so called "Virtual Platforms" which provide scripting APIs that allow the software developer create creative user defined traces. As an example: A breakpoint is set on malloc and free in libc.so. The breakpoint will not stop the simulation but trigger a callback script that is executed in the Virtual Platform debug environment (not in the software, the software will not even recognize it). The script will then e.g. get the allocation size and address and track the allocation in a process. This specific topic is discussed here: http://groups.google.de/group/virtual-platform-users/browse_thread/thread/73ceb6868c0cfbc5 http://virtual-platform-users.googlegroups.com/web/android_process_heap_analyze.png There is a free online version of a Virtual platform (Realview baseboard for ARM9 accessible in this group (located in a cloud) that boots Android 2.0 and which can be used to try out things. As said, I do not know if this solution may apply to your work but I wanted to let you know. Best regards, Achim -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting