commit | f14978184014b45587b9469d5a265197b69fcbb9 | [log] [tgz] |
---|---|---|
author | Eric Seckler <eseckler@google.com> | Thu Apr 30 10:43:23 2020 +0100 |
committer | Eric Seckler <eseckler@google.com> | Thu Apr 30 10:15:14 2020 +0000 |
tree | 4d9a76d97b714042d716d4c5d9be650bda9f1020 | |
parent | 399c0c13aea991caf8d8bf6776327672506e7709 [diff] |
processor: Resolve descriptor track names during tokenization as well I'm about to switch "EarlyJava" events in chrome to use descriptor tracks for thread time. These events will have timestamps that precede any track descriptors' timestamps. So the parser will not see the track descriptor before the events. In order to import the thread time from the extra_counter_values into the thread-time column used by the JSON export, we need to know the thread time track's name at the time of parsing the event. Thus, this patch adds the track name to the track reservation and sets it initially when resolving a descriptor track, too. The parser will still later update the track names from descriptors in the sorted-by-ts order. Change-Id: Ia8f5303aaa4c5c317537ff78e271d9199893d1cd
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.