Replace api35_cross_process_latency.perfetto-trace.

We are now using Trace.beginSection and endSection instead of begainAsyncSection and endAsyncSection, and reading data from thread_slice table.

Bug: 385728317
Change-Id: If013105cec9baccf843e92db0ef5eab46cbafb18
1 file changed
tree: ee6b7c6b6e465493bdc6d8bfa61605932b1bd882
  1. protos/
  2. testdata/
  3. trace_processor_shell/
  4. tracebox/
  5. .gitignore
  6. generate_perfetto_binaries.py
  7. 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