Snap for 10763169 from 4415ebad56ad8f2fd79ec268af9940c5ecbb4541 to androidx-sqlite-release

Change-Id: I5d7267ab2ce9d4d7386d87ae395ff6b3f652aad5
tree: f52c8460246b5c4b6c62b0b2ff762d25b101397b
  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