commit | 7f0c8593b4e45d4c02003ad15a4e1c580cd60c82 | [log] [tgz] |
---|---|---|
author | ssid <ssid@google.com> | Mon Mar 01 13:35:25 2021 -0800 |
committer | ssid <ssid@google.com> | Mon Mar 01 13:35:25 2021 -0800 |
tree | c4d9891f6e049e94089990ba64905bbd0e5cf4cf | |
parent | 99fc76f4d62d3afd3dd40addc61b1795d2b3e4f2 [diff] |
Fix issues for memory instrumentation JSON exporting. 1. Enable system probes parsing for minimal storage processor. The memory dumps require the system counters added, and this needs to run in the minimal processor for JSON conversion. Separates chrome related ones to new file and adds support for parsing multiple modules for each trace packet field ID. 2. Fix the sizes of mapped regions from KB to bytes. The JSON format for these are written in bytes. 3. Fix ordering of level of detail enum. 4. Do not emit empty "vm_regions" entry, since catapult crashes. Handled here instead of catapult because traces won't open in older UI. Change-Id: Ia5e7dd108cf995d880613ee6689f6cbd3936d681
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.