commit | de58995b17cb9e941301b48746f381c29c7e2d07 | [log] [tgz] |
---|---|---|
author | Eric Seckler <eseckler@google.com> | Thu Oct 17 12:46:07 2019 +0100 |
committer | Eric Seckler <eseckler@google.com> | Thu Oct 17 12:46:07 2019 +0100 |
tree | 48f94da5dfed717c439b1a279b3c404788c8a605 | |
parent | a9e880fe2a23a2a50fe8fb0b23b14a677396359c [diff] |
processor: Add foundations for modularization of proto trace parsing Adds structual elements to support compile-time registration of (optional) proto trace tokenizer/parser modules. The trace processor will instantiate enabled modules for each TraceProcessorContext via a wrapper template, which facilitates disabling the module at compile time (avoiding the module's construction and dropping any calls to it). This also avoids virtual methods, so that calling any of the module's methods is zero overhead - they can be inlined by the compiler at callsites directly. Bug: 141459049 Change-Id: Iae21c147144618dd48f8a3ab743aead257b4c0b5
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.
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.