commit | e8c0ff5e62f9fb72de1155b364994e3c20cf8b07 | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@chromium.org> | Tue Feb 16 11:26:16 2021 +0000 |
committer | Sami Kyostila <skyostil@chromium.org> | Tue Feb 16 11:26:16 2021 +0000 |
tree | 892ab318bf08e036c8fa6c51418199f543e85910 | |
parent | 794504004178288e18b1edfc449411cd269ea0d3 [diff] |
tracing: Use process start time as unique identifier Use the process start time hashed with the process id as the unique identifier for a process. This ensures that if there are two independent copies of the Perfetto SDK in the same process (e.g., one in the app and another in a system framework), events emitted by each will be consistently interleaved on common thread and process tracks. Bug: b/178314761 Change-Id: Icccfd6813da6ed8bf9a6d8fbf9c41d964b65b5fb
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.