commit | 08c7c104e9ce4f3116ac9f77e839ab33f371e101 | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Fri Jun 30 13:34:40 2023 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Mon Jul 03 17:13:24 2023 +0000 |
tree | 00504ed410a7d162f8a40bb598e0c469a5cceb0a | |
parent | 5185cb9766d6da8d7e410a6df44c2bc02d740d40 [diff] |
shared_lib: Protobuf decoder improvements * Rename `PerfettoPbDecoderIterateNestedStart()` to `PerfettoPbDecoderIterateNestedBegin()` (for consistency with `PerfettoPbDecoderIterateBegin()`. * Change `PerfettoPbDecoderIterateBegin()` to accept `void*` and `size_t` instead of `uint8_t* begin, end`. This will make the function easier to use from the PerfettoDsOnSetupCb callback. * Add PerfettoPbDecoderField accessors for primitive types. * Add test. For the first two bullet points, this commit changes the API (not the ABI) in a backwards incompatible way: that's ok because there are no users yet. Change-Id: I766f55519c38cb0751357eb4f2ad1bc661f54b54
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.