commit | 6398113664ce64838ff0b9992e146a974955eb94 | [log] [tgz] |
---|---|---|
author | Rasika Navarange <rasikan@google.com> | Wed Jul 05 11:26:50 2023 +0000 |
committer | Rasika Navarange <rasikan@google.com> | Wed Jul 05 11:26:50 2023 +0000 |
tree | 93e31cc2b61390927922b351eefa2ee789c8a08c | |
parent | 80fcf58280c7ec1e9230b59e85a5494ad52ab49d [diff] |
Make diff tests runnable from the Chromium repo. We want to be able to run the chrome diff tests from the Chromium repo. For this we need to add several options to specify the paths to the stdlib, test directory and descriptors. We can then run the diff tests in chromium with: third_party/perfetto/tools/diff_test_trace_processor.py --override-sql-module base/tracing/stdlib/chrome --test-dir base/tracing --trace-descriptor <path to trace descriptor> --chrome-track-event-descriptor <path to chrome track event descriptor> --test-extensions <path to test extensions descriptor> --metrics-descriptor <paths to metrics descriptors> -- out/linux-debug/trace_processor_shell For this, we also need to move tp shell's --override-sql-module outside the --dev flag. Bug: b/287233796 Change-Id: I5ea951bc7515a512df2906ba3682ecd0d02e2d8a
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.