dmtracedump 不起作用,帮助! [英] dmtracedump doesn't work, HELP!

查看:46
本文介绍了dmtracedump 不起作用,帮助!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想分析一个 Android 应用程序.我按照 Android 网站上的说明进行操作:http://developer.android.com/指南/开发/工具/traceview.html

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

网站告诉我使用 Debug.startMethodTracing() 和 Debug.stopMethodTracing()最后,我为我的应用生成了一个跟踪文件,并使用 traceview 成功查看了该文件.

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.

在该网页的末尾,它说有一个工具调用 dmtracedump 可以生成函数调用关系图.我按照说明操作,并在使用之前安装了 Graphviz.

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.

但是无论我如何尝试使用 dmtracedump,该工具都卡住了,什么也没有出现.我用的是普通的

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 test1.trace

dmtracedump -g test1.png test1.trace

dmtracedump -g test1.png test1.trace

我在使用这个工具时有什么东西被磨损了吗?谁能告诉我如何从 dmtracedump 生成图表?

Is there anything I got worng when using this tool? Can any one show me how to generate a graph from dmtracedump?

非常感谢!

推荐答案

dmtracedump 在这一点上相当糟糕.只有-o"选项可以保证工作.

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

这篇关于dmtracedump 不起作用,帮助!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆