Created
March 17, 2015 22:59
-
-
Save fabiendevos/0d1bd9cd5c11ba6c8674 to your computer and use it in GitHub Desktop.
Method tracing android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debug.startMethodTracing("filename"); | |
// code to trace | |
Debug.stopMethodTracing(); | |
Then | |
adb pull /sdcard/filename.trace /tmp | |
traceview// code to trace | |
Debug.stopMethodTracing(); | |
Then | |
adb pull /sdcard/filename.trace /tmp | |
traceview /tmp/filename.trace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment