commit | 391aad378d0d69f52658727d5d4e478734fb5402 | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Mon Apr 29 23:53:19 2024 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Mon Apr 29 23:53:19 2024 +0100 |
tree | 3a9a280f6c8ca1382fc1eeef936c5216883758e3 | |
parent | 4b2b825af7ddd7ce471cbddc594d6ee12ebce7b0 [diff] |
tp: fix compile of TP from external project using Bazel Because Bazel has very complicated sandboxing, it's possible that the tools script and the sources are not in the same director tree leading to outputting headers in the wrong directory. Workaround this by looking for "/src" and then using that as the root. While hacky, it's pragmatically the easiest way to find the root of the sources without having to do a ton of plumbing and risking breaking the myriad of other configs we build under Fixes: https://github.com/google/perfetto/issues/772 Change-Id: I2b0acd27a19e81f988b6511edf7c9dc7f958920d
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.