Trace Redaction - Expose and test FindPreviousEvent The timeline is a collection of events. The primary operation it has is "find previous event", a function that finds the most recent event (relevant to some time) for a process and/or thread. This function is used to find a process's / thread's package. The only way to test FindPreviousEvent() was through the search function. To improve testing, this exposes FindPreviousEvent() so it can be tested and used directly. Change-Id: I7991fb3c7e7f8f6cf13c0fd863f105c20a38226f
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.