tag | 465905c17cb3c0387e64bc8db81eaa921cc62697 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Dec 10 07:32:01 2021 -0800 |
object | 974a228c45fcee3399722f209f0bc2019670d503 |
Android cts 9.0 release 18
commit | 974a228c45fcee3399722f209f0bc2019670d503 | [log] [tgz] |
---|---|---|
author | android-build-prod (mdb) <android-build-team-robot@google.com> | Tue Sep 01 20:00:50 2020 +0000 |
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | Tue Sep 01 20:00:50 2020 +0000 |
tree | 19f5e4e3aa622b8a5c36ea96ef2021b8b2d2fa8b | |
parent | f33903d03a446fd2ccdf4c8ee169ca9420cb6d17 [diff] | |
parent | 949efeff46b9e960fc8dd64a533b011b642b2f20 [diff] |
Snap for 6805133 from 949efeff46b9e960fc8dd64a533b011b642b2f20 to pie-cts-release Change-Id: I82ae56b3ac53d5a8fe562fbb7afe515ba7104781
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
It consists of:
A portable, high efficiency, user-space tracing library
designed for tracing of multi-process systems, based on zero-alloc zero-copy zero-syscall (on fast-paths) writing of protobufs over shared memory.
OS-wide Linux/Android probes for platform debugging
Web-based frontend
A UI for inspection and analysis of traces (coming soon).
Batch processing of traces
A python / C++ (TBD) library for trace-based metrics (coming soon).
Perfetto is building the next-gen unified tracing ecosystem for:
The goal is to create an open, portable and developer friendly tracing ecosystem for app and platform performance debugging.
Designed for production
Perfetto's tracing library and daemons are designed for use in production. Privilege isolation is a key design goal:
See docs/security-model.md for more details.
Long traces
Pefetto aims at supporting hours-long / O(100GB) traces, both in terms of recording backend and UI frontend.
Interoperability
Perfetto traces (output) and configuration (input) consists of protobuf messages, in order to allow interoperability with several languages.
See docs/trace-format.md for more details.
Composability
As Perfetto is designed both for OS-level tracing and app-level tracing, its design allows to compose several instances of the Perfetto tracing library, allowing to nest multiple layers of tracing and drive then with the same frontend. This allows powerful blending of app-specific and OS-wide trace events. See docs/multi-layer-tracing.md for more details.
Portability
The only dependencies of Perfetto's tracing libraries are C++11 and Protobuf lite (plus google-test, google-benchmark, libprotobuf-full for testing).
Extensibility
Perfetto allows third parties to defined their own protobufs for:
Allowing apps to define their own strongly-typed input and output schema. See docs/trace-format.md for more details.