commit | 67e15a9d7ca580e5886b0cdeaef81eaa592e0ab2 | [log] [tgz] |
---|---|---|
author | Eric Seckler <eseckler@google.com> | Fri Jan 03 13:20:46 2020 +0000 |
committer | Eric Seckler <eseckler@google.com> | Fri Jan 03 13:20:46 2020 +0000 |
tree | 8cfe78bf8ef0c1daf95bb21c019fc1e1d3fb3b2f | |
parent | 1f7eaa155d097c42044db4d035a375601685f766 [diff] |
processor: Refactor TimestampedTracePiece Chrome wants to add a few more counters to TrackEvents, which would eventually also need a place in TimestampedTracePiece. Since TTP has been growing a lot (and this contributed to increased memory usage in trace processor), this patch refactors TimestampedTracePiece to make it easier to add new data to only a subset of sorted events, while keeping the TimestampedTracePiece of other events small. Each TTP now has a type, and each type can store either inline or heap-allocated supplemental data. Bug: 123864183, 142557489 Change-Id: I050183c39bb24fadaad360886fee083577479328
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.