commit | 3b297336f6d8f52e6751b15b23fa8ffee3013168 | [log] [tgz] |
---|---|---|
author | Aaron Vaage <vaage@google.com> | Thu May 09 13:39:36 2024 -0700 |
committer | Aaron Vaage <vaage@google.com> | Thu May 09 13:39:36 2024 -0700 |
tree | 0128520ade34250fe7b6da0831715f79ddf63ddd | |
parent | 248ec4fde76595e0e125b8e06c1b12e21d9c8641 [diff] |
Trace Redaction - Simplify and expand usage of timeline event A timeline event had a lot of boiler plate code and was often wrapped in std::optional. The timeline type also had an invalid option, but it was never used. This CL strips the event type to be a simple struct and uses the event invalid type instead of std::optional. The timelines interface does not change, but uid values change because invalid pid and uid values change from 0 (a valid value) to max int32_t and max uint64_t. This exposed errors in the tests. Bug: 333740194 Change-Id: Iad1d51bea7356b36858cb841389410c61d419db6
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.
See https://perfetto.dev/docs or the /docs/ directory for documentation.