trace filtering: avoid dereferencing vector[end] The current code is hitting some assertions in debug versions of some C libraries. The problem is the following: indexing an out-of-bounds element of the array causes an abort even if the pointer itself is never dereferenced. Move the |end| pointer computation to be based on data() + size. Bug: 181306741 Change-Id: If158ab05e86e30b4f765e69fb63710b04ad4bba6
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.