commit | 267ba23a425536a83847d8c1aab84644af150d1b | [log] [tgz] |
---|---|---|
author | Chinglin Yu <chinglinyu@google.com> | Tue Mar 26 14:34:53 2024 +0800 |
committer | Chinglin Yu <chinglinyu@google.com> | Thu Apr 11 22:45:10 2024 +0800 |
tree | 9c249fc8be5c333ef1f83f9eea90e51834bd8d73 | |
parent | 50d177ce62bb35c78a97caaf4423c96aa3e3746d [diff] |
tp: multi-machine: insert machine ID to storage tables This CL retrieves machine_id from TraceProcessorContext for storage table insertion by trackers (ProcessTracker, TrackTracker, etc.). The ProcessTracker is updated to use the inserted row number as the utid/upid of the swapper thread, as the assumption that swapper's utid/upid is 0 will not hold in injesting a multi-machine trace data file. Bug: 284258446 Change-Id: I68e0989df9762dd6d2a4807a75b8b51b73e9f85c
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.