Updated trace_processor_shell to commit f6016b7c1ce6f7b79fd6048e4a1496c043d5ff99

This update includes fix b/243735331 that solves an issue with QueryResult serialization that made Wire crashing.

Bug: 241974799
Test: ./gradlew :benchmark:benchmark-macro:cC
Change-Id: Id64d2a4daaaa840fcd3bdee430a91a140efb0609
10 files changed
tree: 9aba4c3114dee573b423b7caee0b85ab6e33cb1a
  1. testdata/
  2. trace_processor_shell/
  3. tracebox/
  4. .gitignore
  5. generate_perfetto_binaries.py
  6. README.md
README.md

Perfetto Binaries

The source code for several perfetto binaries lives in the external/perfetto project in the AOSP source tree. These binaries enable unbundled perfetto tracing, and on-device trace processing.

To set up the perfetto repository for the first time:

git clone https://android.googlesource.com/platform/external/perfetto/ perfetto_repo
perfetto_repo/tools/install-build-deps --android

To build stripped binaries from the local repository:

./generate_perfetto_binaries.py

This script automates some of the build instructions documented here.

Some important things handled are:

  • binary stripping (drastically reduces binary size)
  • sets monolithic_binaries = true (important for unbundled usage)
  • handles all architectures supported by macrobenchmark