Skip to content

likaci/AndroidMethodTraceRunner

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
src
 
 
 
 
 
 
 
 

MethodTraceRunner

A command line tool to run Android Method Trace
Powered by ddmlib

Usage

mtr
 -h         show help msg
 -p <arg>   package name
 -o <arg>   output file
 -t <arg>   trace time
 -v         verbose log
$ java -jar mtr.jar -p com.your.package -o output.trace -t 10
this cmd will trace app com.your.package for 10 seconds and save result at output.trace.

Download

https://github.com/likaci/MethodTraceRunner/releases

Refs

https://android.googlesource.com/platform/tools/base/+/master/ddmlib/ https://developer.android.com/studio/profile/am-methodtrace.html http://blog.csdn.net/eclipsexys/article/details/51316423

About

A command line tool to run Android Method Trace with ddmlib

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages