commit | 763112046f86419b872e26e4c24b3bae202ff622 | [log] [tgz] |
---|---|---|
author | Eric Seckler <eseckler@google.com> | Mon Jan 07 12:20:25 2019 +0000 |
committer | Eric Seckler <eseckler@google.com> | Mon Jan 07 12:20:25 2019 +0000 |
tree | aecdf0327e97b1b76a9b0ca7b3fd59b9682e3a1b | |
parent | 594f1eabfe924df38417beca55666b54ef0f2668 [diff] |
protozero: Make ScatteredStreamMemoryDelegate production-ready Currently, this delegate is only used in testing, but we'd like to use it e.g. for tracing to a heap buffer before the perfetto service is available. This patch makes the delegate compatible with chromium's HeapScatteredStreamWriterDelegate and renames it to ScatteredHeapBuffer. In particular, it adds a way to obtain the chunk data without copying them into a stitched vector. As a follow-up, we can then remove chromium's HSSWD and replace it with perfetto's SHB. Change-Id: I4a4c07f81edd7d9ff5ec8b3f977d72ca1668c09d
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.