[PATCH] Improve Android tracing instructions

José Fonseca jose.r.fonseca at gmail.com
Thu May 2 00:21:37 PDT 2013


On Thu, May 2, 2013 at 12:13 AM, Rajib Nath <rknath at ucsd.edu> wrote:

> Hello,
> We are trying to collect openGLES traces from android application  in
> particular templerun.
> We followed the exact same procedures that you have in the Dalvik.markdown
> in apitrace repository.
>
> We have changed the init.rc file to preload egltrace.so before zygote
>
> Then we executed the following commands ...
>
> PROCNAME=com.imangi.templerun2
> adb shell setprop wrap.$PROCNAME LD_PRELOAD=/data/egltrace.so
> adb shell setprop debug.apitrace.procname $PROCNAME
>
>
> The following command does not work to start templerun
>
> adb shell am start -S $PROCNAME
>
> says no intent supplied ...
>
> Then we tried the following command
>
> adb shell am start -a android.intent.action.MAIN -n
> com.imangi.templerun2/com.unity3d.player.UnityPlayerNativeActivity
>
> The app gets started. However we always get a empty tracefile.
>
> Can you please give us suggestion which may resolve the issue ?
>
> Thanks. I will highly appreciate your response.
>
>
The doc says that the output of

  adb logcat \*:S apitrace

might provide some clue.

Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20130502/469e5be4/attachment-0001.html>


More information about the apitrace mailing list