Parse NetworkPacketBundle and output slices. NetworkPacketBundles have two forms: (1) per-packet and (2) aggregate. The per-packet ones are handled in tokenization and converted into NetworkPacketEvents. Bundles that make it to parsing must be aggregates which get turned into slices with a duration and extra field. Bug: 246985031 Test: trace_processor_shell and perfetto_unittests Change-Id: Ida2c1b530816df4ca8e6e601aa8fd9b9474ac6f1
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.