commit | 08604dc57cb93d537289e3c8aa3e8508cb05345d | [log] [tgz] |
---|---|---|
author | Ryan Savitski <rsavitski@google.com> | Wed Jul 03 13:24:11 2019 +0100 |
committer | Ryan Savitski <rsavitski@google.com> | Wed Jul 03 12:28:45 2019 +0000 |
tree | cf73da9ae8928423706d450cb15b4f6009b1e7e2 | |
parent | dd105037e5eb97cf8f925c687b06628d309fe691 [diff] |
TraceWriterForTesting: clean up old single-proto assumptions Before the patch that introduced the TODO, the TraceWriterForTesting wasn't respecting trace packet boundaries, and was always returning one merged proto. The android log tests only cared about the contents of the first packet, that assumption is now more explicit. Also, changing the single-packet accessor to be more convenient to use: * simpler return type (the packet proto) * internal assertion that there's indeed only one packet Change-Id: Iceee2df3bca1bd4a4fec6c21ce2595ed9a31dc4c
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.