commit | 9c41cebe30668f1dff7019e0a123e77e27a40441 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Tue Apr 14 13:23:01 2020 +0100 |
committer | Primiano Tucci <primiano@google.com> | Tue Apr 14 13:23:01 2020 +0100 |
tree | 6a1eb51e1f91d396b448663e5e8e3e87e7c1ddce | |
parent | e1432869418635b0097a59315b7df26a6a74fc9b [diff] |
Tracing protocol: chunk QueryServiceStateResponse The QueryServiceStateResponse IPC had a design oversight: it was assuming that the response will fit into one IPC message. This is not true when a lot of data sources with large descriptors are registered. Each DataSourceDescritor can be up to the size of an IPC message each. Fix by chunking the response, splitting at the data source level. This change is binary compatible with the previous version. The service still ensures that each chunk is a valid (but incomplete) TracingServiceState response, so old clients will still see the first response (which in most cases fits). Bug: 153142114 Change-Id: I8256a440ddea1973400d8b2dd1d0496358bd2cd7
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.
See /docs/contributing.md for instructions.
The source-of-truth repo is Android's Gerrit. The GitHub repo is a read-only mirror.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.