summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTsung-En Hsiao <joshua841025@gmail.com>2015-08-28 22:24:45 +0800
committerJose Fonseca <jfonseca@vmware.com>2015-09-14 22:02:05 +0100
commit34280278d550799947067bdd2b2e63c8abd659c1 (patch)
tree75f69503ff5d0fd89b5962f0de281ff390b1386b /docs
parent421b6a431c57398637b5512ec5df6e374f404a17 (diff)
docs: Update android tracing commands.
The original instructions didn't work, here're mine.
Diffstat (limited to 'docs')
-rw-r--r--docs/Dalvik.markdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/Dalvik.markdown b/docs/Dalvik.markdown
index bb35a9cf..6fddf38e 100644
--- a/docs/Dalvik.markdown
+++ b/docs/Dalvik.markdown
@@ -21,7 +21,8 @@ Obtain the process name of the application to be traced (the one reported in
PROCNAME=com.android.settings
adb root
- adb shell setprop wrap.$PROCNAME LD_PRELOAD=/data/egltrace.so
+ adb shell ln -s /data/data/apitrace.github.io.eglretrace/libgnustl.so /data/libgnustl.so
+ adb shell setprop wrap.$PROCNAME LD_PRELOAD="/data/libgnustl_shared.so:/data/egltrace.so"
adb shell setprop debug.apitrace.procname $PROCNAME
(the former is read by Dalvik and specifies wrapping prefix, the latter is