commit | 79350c98f2cee15490cfc8afb1ac35e640f29396 | [log] [tgz] |
---|---|---|
author | Ryan Savitski <rsavitski@google.com> | Tue Jul 26 14:40:12 2022 +0100 |
committer | Ryan Savitski <rsavitski@google.com> | Tue Jul 26 14:40:12 2022 +0100 |
tree | c190c0b309eb87f5ae711ddd221823a1826684c9 | |
parent | 7d7687ea9f023fc81d69f079e3adbcc7fb3a14d2 [diff] |
proto: perf: process sharding config and packet defaults This option directs the callstack sampling to choose only a subset of seen processes for unwinding, but without explicitly enumerating the subset like we'd do with target_pid or target_cmdline. The intent is to lessen the overheads of systemwide callstack sampling. The allow/deny choice for a process is "pid % process_shard_count == X", where process_shard_count is set by the config, and X is chosen at random for the duration of a trace. Doc: go/tperf-sharding Bug: 223773242 Change-Id: Idbadf707bbab8b4aec0c5c4d22d352ee471642ad
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.