commit | 1290ac2584d79af0cea38d84ba76e915fa294728 | [log] [tgz] |
---|---|---|
author | Samuel Wu <wusamuel@google.com> | Thu Nov 14 13:22:48 2024 -0800 |
committer | Samuel Wu <wusamuel@google.com> | Thu Nov 14 13:22:48 2024 -0800 |
tree | f7a9e618f1728690df1bc6cf5c3dcc6fdeb6ce65 | |
parent | 4ebd1d7db1d0b958840802bc73679f9f8470ae76 [diff] |
wattson: Fix estimates when entire CPU track missing When an entire CPU freq or idle track is missing, then some other CPU estimates won't be calculated. Add a NULL but defined time range for CPUs that are physically present on the device but don't have a single freq/idle event triggered. This is so that interval_intersect() operates on a valid time range. Test: tools/diff_test_trace_processor.py out/linux/trace_processor_shell --name-filter '.*wattson.*' Bug: 379160886 Change-Id: I3b3fa24a61c2e348802b064e17d7dc93000f32b2 Signed-off-by: Samuel Wu <wusamuel@google.com>
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.