commit | 66a71ad0e71f4a1755ef01fa2c4d1043bcda4a80 | [log] [tgz] |
---|---|---|
author | Daniel Nicoara <dnicoara@google.com> | Mon Sep 13 15:19:14 2021 -0400 |
committer | Daniel Nicoara <dnicoara@google.com> | Thu Sep 16 16:46:22 2021 +0000 |
tree | a7a35a50860b32c28801f1b7ab30b17bd0572383 | |
parent | 8d17d180c6dc34343535919517266fad699e8de5 [diff] |
Disable DCHECKs in bazel builds If external bazel projects define DCHECK_ALWAYS_ON it leads to mismatches between Perfetto build (which doesn't enable DCHECKs) and external code which includes Perfetto tracing macros and enable DCHECK_ALWAYS_ON leading to linker errors such as: ld.lld: error: undefined symbol: perfetto::internal::CheckedScope::~CheckedScope() Bug: 199770786 Bug: 197340286 Test: Compile with bazel to verify DCHECKs are not enabled Change-Id: I3b26add919e9ca1260f9b208c62e42df3b0f323e
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.