Android : How to analyze the trace files programmatically?

核能气质少年 提交于 2019-12-14 03:13:02

问题


I have a list of trace files and I need to analyze them. Is there any way to analyze them programmatically without using the tool traceview?


回答1:


The dmtracedump tool, used with the -o flag, will parse the file and dump it to stdout in a line-oriented human-readable format. You can either parse this output or just clone the file parser from dmtracedump. Sources here.



来源:https://stackoverflow.com/questions/19977128/android-how-to-analyze-the-trace-files-programmatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!