5

The latest Android Systrace pages - http://developer.android.com/tools/debugging/systrace.html#options-4.3 - show 'Alerts' and 'Frames' trace lines, with circles where bad things happen.

I haven't been able to create a trace.html file with those marks, despite seeing plenty of jank.

Does anyone know what command Google might have used to create the page they screenshotted? They don't provide it, sadly.

4

2 回答 2

3

该文档中描述的版本仅适用于 Android SDK 平台工具 23 rc4 或更高版本。目前仅在 SDK 管理器的工具预览通道中可用,但一旦版本 23 进入主要发布通道,它将成为默认工具包的一部分。

于 2015-07-22T16:10:54.813 回答
0

查看警报圈不需要特殊命令。使用最新版本并像通常那样启动 systrace就足够了。

  • 确保您没有放大不包含任何警报的部分。
  • 在左栏中,您应该有一个标签Alerts。确保您没有意外向下滚动以隐藏此部分。它应该位于Kernel列出您的 CPU 的上方和下方Interactions
于 2015-12-03T12:33:20.417 回答