commit | bc8d08b152128bc75420c8c052143d9f0cb3f34f | [log] [tgz] |
---|---|---|
author | Pablo Gamito <pablogamito@google.com> | Fri Aug 30 14:30:28 2024 +0000 |
committer | Pablo Gamito <pablogamito@google.com> | Fri Aug 30 14:30:28 2024 +0000 |
tree | 1d6975d7fbeedeb4417eedc65c7bba9e0017c0b8 | |
parent | 096209d2cfd1f6ec423116d05e72405158bfb44c [diff] |
Move protolog_viewer_config parsing to TokenizePacket Protolog viewer config messages don't contain a timestamp this meant that they would be assigned a timestamp and in some cases this timestamp meant that the packet was processed after the protolog message packet that depend on the config, which do provide a timestamp. This change guarantees that the view config packets are always processed before the protolog message packets to ensure safe and reliable decoding of all the protolog messages. Bug: 362727234 Change-Id: I65488c4219a6980c265d758f80f606a853f80f00 Test: tools/diff_test_trace_processor.py ./out/linux_clang_release/trace_processor_shell --name-filter "ProtoLog"
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.