title: Profiling Android applications using ltrace
body: <p>I need to profile dynamic library calls of android application and have decided to profile using "ltrace" tool for this purpose. I combined "ltrace" tool into android package, then compiled together successfully. It works fine with shell program just like usual linux console application. </p>
  
  <p>However, I cannot properly profile android applications, which are forked from "Zygote" process. I tried attaching ltrace to "Zygote" process to follow child processes of it, but I only got SIGCHLD and SIGSTOP signals and terminated abnormally, showing the following errors.</p>
  
  <p><em><strong>unexpected instruction 0xffffffff at 0xffff0508</em></strong></p>
  
  <p>I'm just wondering if anyone has ever tried this kind of profiling on android system. Any short comments can be very helpful for me.</p>
  
  <p>Thank you in advance.</p>