commit | c56f769511ee816a9f1343af8d557529986f5a94 | [log] [tgz] |
---|---|---|
author | Mohit Saini <mohitms@google.com> | Wed Jan 12 10:28:01 2022 +0000 |
committer | Mohit Saini <mohitms@google.com> | Wed Jan 12 10:28:01 2022 +0000 |
tree | 7c8c6faf1fb0d5a8db2ec1231e06e62ae857f4dd | |
parent | b9fc4c744e53912872b06e826dc6c1957d563628 [diff] |
Add example.cc in BUILD.gn to compile with Ninja Compile and run: 1. Compile: `tools/ninja -C out/default example` 2. Run: `./out/default/simple_example` 3. See output: `/tmp/example.pftrace.bin` and convert it to text using `./tools/traceconv text /tmp/example.pftrace.bin`. Change-Id: I796cdbe9bd06b98104b9eb64df11c2f24c3aa056
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.