Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Method tracing android
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