Android tracing

Anthony Lombardi tonyjlombardi at gmail.com
Tue Oct 30 00:53:44 PDT 2012


What is the correct command to get a trace of an application on android?
 Below is a command I put into the adb shell.  It runs the application, but
I didn't find a trace file in /data.  I have egltrace.so in /data on the
device.  The device is also rooted.


LD_PRELOAD=/data/egltrace.so am start -n com.rovio.angrybirds/com.
rovio.ka3d.App

The readme mentioned that the method for linux should work, and in the
Linux section there's this:

LD_PRELOAD=/path/to/apitrace/wrappers/glxtrace.so /path/to/application

I'm probably doing something wrong here... am I supposed to use glxtrace.so
or egltrace.so?

If someone has used apitrace on android and can give an example for an
actual app that would be great.  Thanks.

Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20121030/bcbe07b7/attachment.html>


More information about the apitrace mailing list