tree: 43ae0cd9636e40f5881cc5724ebd0f02011a2a69 [path history] [tgz]
  1. __init__.py
  2. binary_deps.json
  3. binary_deps_manager.py
  4. binary_deps_manager_unittest.py
  5. BUILD.gn
  6. cloud_storage.py
  7. DIR_METADATA
  8. OWNERS
  9. README.md
  10. roll_trace_processor
  11. update_power_profile.py
  12. upload_trace_processor.py
tools/perf/core/perfetto_binary_roller/README.md

Perfetto Binary Roller

Results Processor needs some pre-built binaries from Perfetto project, e.g., trace_processor_shell for converting proto traces and computing TBMv3 metrics. These binaries can be either built from Chromium checkout or downloaded from the cloud. This module provides scripts for updating the binary stored in the cloud.

The update process works as follows:

  • CI bots build the binary for all telemetry host platforms (win/lin/mac) and call upload_trace_processor script.
  • Someone calls roll_trace_processor script locally to update the TP version in use to the latest version uploaded by the CI.

Please see this doc for discussion and details.