commit | 9a1cc761c936ea31d3ea1f9b95014f70c583db90 | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Mon Nov 15 14:01:40 2021 -0800 |
committer | Kalesh Singh <kaleshsingh@google.com> | Tue Nov 16 12:31:55 2021 -0800 |
tree | fbe4e275d4022f9871275224d4583d95f1febad5 | |
parent | 84f62e46c50a8164b5ad2706c316ab45f438a615 [diff] |
perfetto/rss_stat_tracker: Use rss_stat_throttled if enabled Update the ftrace parser to use rss_stat_throttled event if enabled. It doesn't make sense to specify both rss_stat and rss_stat_throttled in the same config; if both are enabled then the throttling is ineffective. So we can reuse the rss_stat tracker to parse both rss_stat and rss_stat_throttled events. Bug: 145972256 Test: - tools/install-build-deps --ui - ui/build -ws - Upload trace on local server (http://127.0.0.1:10000) - Observe mem.rss.file, mem.rss.anon, mem.rss_shmem metrics Change-Id: Id56481f3eade7f2908d3d3bce4f6765ca94e2adf
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.