开发者

dmtracedump doesn't work, HELP!

I want to profiling an android app. I follow the instructions on Android's website here: http://developer.android.com/guide/developing/tools/traceview.html

The website told me to use Debug.startMethodTracing() and Debug.stopMethodTracing() Then finally I generate a trace file for my app and successfully view that file using traceview.

At the end of that web page it says there is a tool call dmtracedump can generate function call relation graph. I follow the instructions and also install Graphviz before using it.

But no matter how I try to use dmtracedump, the tool just stuck and nothing comes out. I used commond like

dmtracedump test1.trace

dmtracedump -g test1.png test1.trace

Is there anythi开发者_开发问答ng I got worng when using this tool? Can any one show me how to generate a graph from dmtracedump?

Thanks a lot !


dmtracedump is fairly broken at this point. Only the "-o" option is guaranteed to work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜