commit | 8a495a721fea21d0b1ec1e352583edf46c8bdff6 | [log] [tgz] |
---|---|---|
author | Carlos Caballero Grolimund <carlscab@google.com> | Mon Sep 05 09:29:09 2022 +0000 |
committer | Carlos Caballero Grolimund <carlscab@google.com> | Mon Sep 05 09:29:09 2022 +0000 |
tree | 76d7e820a1f55de2a99e1aef3a7cf085a55f3cfa | |
parent | ed6fa8a3f18fec4081f419b45ab2dbfc2e78a5f1 [diff] |
Add aggregation function EXPERIMENTAL_PERF_PROFILE 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_PERF_PROFILE(callsite_id) FROM perf_sample JOIN thread USING (utid) GROUP BY tid Change-Id: I0d06098f06baa5e668f42296a0b2c6a435c209ba
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.