Perfetto - 09 - Quickstart: Quickstart: Callstack sampling on Android
2023年3月21日小于 1 分钟
Perfetto - 09 - Quickstart: Quickstart: Callstack sampling on Android
Prerequisites
Capture a CPU profile
Linux or macOS
Windows
Symbolization
View profile
将原始跟踪或符号化跟踪文件从输出目录上传到Perfetto UI,然后单击并拖动名为“Perf Samples”的UI跟踪中的一个或多个菱形标记,用于您选择用于分析的进程。每个菱形标记表示时间轴上该点调用堆栈的快照。
Reference
- https://perfetto.dev/docs/quickstart/callstack-sampling
- https://perfetto.dev/docs/data-sources/native-heap-profiler#symbolize-your-profile