commit | 7cb0d83ecbaa24e69669c0ece056545658299bba | [log] [tgz] |
---|---|---|
author | Carlos Caballero Grolimund <carlscab@google.com> | Thu Jul 28 10:15:55 2022 +0000 |
committer | Carlos Caballero Grolimund <carlscab@google.com> | Fri Jul 29 12:55:06 2022 +0000 |
tree | d7d9af6c4c1cf8d479a7596b5a45b1591f3b323c | |
parent | 4ff8baf8c8f1e3dacc83ab9abdf3dbe7ba67eb75 [diff] |
Add aggregation function EXPERIMENTAL_PPROF traceconv currently generates a pprof profile for all samples in a trace. For some analysis we might be interested in only looking at certain samples (e.g. those that intersect a given slice). This new function allows to generate a pprof profile for a given set of samples. E.g. To get a profile per thread SELECT tid, EXPERIMENTAL_PPROF(callsite_id) FROM perf_sample JOIN thread USING (utid) GROUP BY tid Change-Id: I5cbb86248488a89a2bc683a6df9e5b24f923ddd3
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.