Android tracing

Anthony Lombardi tonyjlombardi at gmail.com
Wed Oct 31 10:48:16 PDT 2012


Thanks guys.  I will try your suggestions on the non-standalone app tracing.

Anthony

On Tue, Oct 30, 2012 at 12:53 AM, Anthony Lombardi
<tonyjlombardi at gmail.com>wrote:

> 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/20121031/58c85c20/attachment.html>


More information about the apitrace mailing list