commit | 62b4a1d72e8354e0b83300c07dd13401a2600756 | [log] [tgz] |
---|---|---|
author | Carlos Caballero Grolimund <carlscab@google.com> | Fri Oct 14 10:24:34 2022 +0000 |
committer | Carlos Caballero Grolimund <carlscab@google.com> | Mon Oct 17 08:53:20 2022 +0000 |
tree | 50bb1eaaca2580ca2781164c7a2459d700c8b668 | |
parent | e524d0ebc3047d784411add51557f1cace180a1b [diff] |
Add WRITE_FILE function to trace_processor Add a function to write a blob to a file. This gives us an easy way of writing profiles generated with EXPERIMENTAL_PROFILE into a file. Added a new helper method OpenFstream that takes care of Windows' special treatment of filenames (wrt character encoding). Used this new function in ExportJson SQL function which as a bonus fixes a FILE* leak Change-Id: I69a209d0ca17477289f3c946c85cfda0054ebe26
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.