[PATCH] Improve Android tracing instructions

José Fonseca jose.r.fonseca at gmail.com
Sat May 4 02:07:03 PDT 2013


On Fri, May 3, 2013 at 6:24 PM, Alexander Monakov <amonakov at ispras.ru>wrote:

> Hello,
>
> On Thu, May 2, 2013 at 3:13 AM, Rajib Nath <rknath at ucsd.edu> wrote:
> > We have changed the init.rc file to preload egltrace.so before zygote
>
> You didn't really need to do that.
>
> > adb shell am start -a android.intent.action.MAIN -n
> > com.imangi.templerun2/com.unity3d.player.UnityPlayerNativeActivity
>
> Can you explain how to obtain proper "am start" incantations for arbitrary
> apps?
>
> > The app gets started. However we always get a empty tracefile.
>
> The problem here is that Unity3D loads OpenGL libraries dynamically
> via dlopen, so the egltrace.so interposer needs to interpose dlopen.
> The attached patch should fix it for you.
>
> Jose, can you have a look at the patch and consider for inclusion?
> I've decided to keep the _dlopen name as is to minimize noise in the
> patch. Thanks.
>
> Alexander
>
> _______________________________________________
> apitrace mailing list
> apitrace at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/apitrace
>
>
Pushed, with cosmetic changes. Thanks.

Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20130504/9d3e9dd5/attachment.html>


More information about the apitrace mailing list