Perfetto

Perfetto
软件
软件描述
Perfetto 是一个面向生产的开源堆栈,用于性能检测和跟踪分析。它提供了用于记录系统级和应用级跟踪、原生+Java 堆内存分析的库,以及一个使用 SQL 分析跟踪的库和一个基于网页的用户界面……
官方网站
访问软件的官方网站了解更多信息
perfetto.dev
什么是 Perfetto?
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces. System-wide profiling for Linux and Android
Linux kernel tracing: Capture high frequency ftrace data: scheduling activity, task switching latency, CPU frequency and much more. Userspace profilers and extra probes: Native heap profiling, Java heap profiling, pollers for /proc stat files. Built into Android: Part of the platform since Android 9 Pie, runs on Linux as well.
App Tracing
Efficient trace point instrumentation: Log your C++ app’s activity with high throughput, low overhead trace points. Structured and configurable events: Define custom protobuf messages to represent strongly-typed app-specific information, trace only what you need. Integrated with system-wide tracing: Correlate your app’s state with system-wide profiling data on the same timeline.
Trace Viewer
Interactive trace exploration: Record, view and process trace data with the Perfetto UI. Supports popular trace format files: TraceEvent JSON, Android systrace, ftrace text output. Runs fully in your browser: No server interaction involved, works even if you are offline.
Trace Analysis
SQL-based trace model: Trace processor ingests traces and exposes a SQLite-based interface to access the contents of the trace, both via shell and UI. Large trace analysis: Supports traces up to tens of GBs. Interoperable: Can import and export popular trace formats: Chromium JSON trace format, Android Systrace, ftrace, CSV.