Android 跟踪日志字段的含义是什么

发布于 2024-10-20 12:53:15 字数 753 浏览 4 评论 0原文

我使用 DDMS 分析工具并获取跟踪日志 (.trace)。我使用 'traceview -r ddms349082309823084.trace > 将 .trace 文件转换为 .txt 文件example.txt'.

但是,我无法理解文本文件中每个字段的确切含义。请参考下例。

id thread  global start,end   method

 9    205      199      208 + android/os/Debug.isMethodTracingActive ()Z

 9    208      202      205 + dalvik/system/VMDebug.isMethodTracingActive ()Z

 9    211      205        0   dalvik/system/VMDebug.isMethodTracingActive ()Z

 9    214      208        0   android/os/Debug.isMethodTracingActive ()Z

 9    225      219      222 + org/apache/harmony/dalvik/ddmc/Chunk.<init> (I[BII)V

 9    228      222        0   org/apache/harmony/dalvik/ddmc/Chunk.<init> (I[BII)V

有谁知道吗?

I used DDMS profiling tool and get a trace log (.trace). And I converted .trace file to .txt file using 'traceview -r ddms349082309823084.trace > sample.txt'.

But, I cannot understand exact meaning of each fields in the text file. please refer to blow example.

id thread  global start,end   method

 9    205      199      208 + android/os/Debug.isMethodTracingActive ()Z

 9    208      202      205 + dalvik/system/VMDebug.isMethodTracingActive ()Z

 9    211      205        0   dalvik/system/VMDebug.isMethodTracingActive ()Z

 9    214      208        0   android/os/Debug.isMethodTracingActive ()Z

 9    225      219      222 + org/apache/harmony/dalvik/ddmc/Chunk.<init> (I[BII)V

 9    228      222        0   org/apache/harmony/dalvik/ddmc/Chunk.<init> (I[BII)V

is there anybody know?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

等你爱我 2024-10-27 12:53:15

请尝试使用traceview来查看跟踪日志(.trace),这样您就可以得到一个很好的UI来理解它!

更多关于Traceview Layout的信息,请参考:
http://developer.android.com/guide/developing/debugging/debugging -tracing.html

如果您想了解有关跟踪日志的详细信息,您还可以参考此页面:
http://developer.android.com/guide/developing/debugging /debugging-tracing.html#format

Please try to use traceview to view the trace log (.trace), so that you could get a nice UI to understand it!

More info about Traceview Layout, please refer to:
http://developer.android.com/guide/developing/debugging/debugging-tracing.html

If you want to know details about trace logs, you could also refer in this page:
http://developer.android.com/guide/developing/debugging/debugging-tracing.html#format

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文