Skip to content

Instantly share code, notes, and snippets.

@fabiendevos
Created March 17, 2015 22:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabiendevos/0d1bd9cd5c11ba6c8674 to your computer and use it in GitHub Desktop.
Save fabiendevos/0d1bd9cd5c11ba6c8674 to your computer and use it in GitHub Desktop.
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