Thanks guys.  I will try your suggestions on the non-standalone app tracing.<div><br></div><div>Anthony<br><br><div class="gmail_quote">On Tue, Oct 30, 2012 at 12:53 AM, Anthony Lombardi <span dir="ltr"><<a href="mailto:tonyjlombardi@gmail.com" target="_blank">tonyjlombardi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<div>

<br></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br>LD_PRELOAD=/data/egltrace.so am start -n com.rovio.angrybirds/com.</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">rovio.ka3d.App</span></div>

<div><br></div><div>The readme mentioned that the method for linux should work, and in the Linux section there's this:</div><div><pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
<code style="margin:0px;padding:0px;border:none;font-size:12px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:transparent;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px">LD_PRELOAD=/path/to/apitrace/wrappers/glxtrace.so /path/to/application</code></pre>

<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">I'm probably doing something wrong here... am I supposed to use glxtrace.so or egltrace.so?</span></div>
</div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">If someone has used apitrace on android and can give an example for an actual app that would be great.  Thanks.</span></div>
<span class="HOEnZb"><font color="#888888">
<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Anthony</span></div>
</font></span></blockquote></div><br></div>