commit | 510b13481dbcd4e7e7b78428b8bcaacb6a8490c4 | [log] [tgz] |
---|---|---|
author | Federico 'Morg' Pareschi <morg@google.com> | Mon Jul 10 07:48:39 2023 |
committer | Morg <morg@google.com> | Tue Jul 18 00:57:21 2023 |
tree | 1701f40c291dfc714e563378bd731d637aa3bb3d | |
parent | ec10d22e73b78e94930df33cb41b38e5f5b37e32 [diff] |
Apply Linux-specific fixes This CL applies the necessary fixes to get cperfetto (and the static version cperfetto_static) to build under Linux. It patches a few clang errors and windows-specific code (__declspec). To compile this code: - `python3 ./tools/install-build-deps` - `gn gen --args='is_debug=true' out/debug` - `ninja -C out/debug cperfetto` or `ninja -C out/debug cperfetto_static` BUG=b:277837670 TEST=compiled cperfetto_static and verified libperfetto_static.a exists Change-Id: I7a804fbd5f20c685d78bce030136b1abe3e5df02 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/perfetto/+/4669640 Reviewed-by: Colin Downs-Razouk <colindr@google.com> Auto-Submit: Morg <morg@google.com> Reviewed-by: Noah Gold <nkgold@google.com>
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.
This repository is a crosvm-specific copy of a google-internal perfetto repository modified for use on Windows with Rust. It is not a full fork of the external repository as it does not preserve the repo commit history. It is instead checkpointed from a specific (internal) git commit hash.