commit | eb63b088eb53cc3e831f1e76b6dfc5338939c870 | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Thu Sep 10 14:12:20 2020 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Thu Sep 10 14:12:20 2020 +0100 |
tree | 396e344dc1d962a3b7db93b566f38904943aa042 | |
parent | b3f3e76c87acb18608d0ab7f0f0db0c5be9e728a [diff] |
tp: extract out tokenizing logic from ProtoTraceTokenizer This CL does three things: 1. Renames ProtoTraceTokenizer -> ProtoTraceReader to better reflect its true purpose. 2. Extracts out all the actual tokenization from ProtoTraceReader into a new ProtoTraceTokenizer class which can be reused. This includes handling any decompression of compressed packets. 3. Updates all usage of ProtoTraceTokenizer to ProtoTraceReader. This is needed to support handling gzip traces in DecompressTrace without duplicating really subtle logic. Bug: 167975440 Change-Id: I4d14aa011663b9cbbac4672a63f18f9c08e7201d
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.