Trace processor binaries are not stripped correctly when using S.

Test: Tested on a device running Q
Change-Id: I646772443b4537dac7231ea0d7f2ac7dbafd043a
2 files changed
tree: 0a223194e560ba0410a9c681da90fecfeda7f851
  1. trace_processor_shell/
  2. README.md
README.md

Trace Processor Shell

The source code for trace_processor_shell lives in external/perfetto in the AOSP source tree.

Building stripped binaries

Checkout the AOSP source tree.

cd <root of AOSP checkout>
source build/envsetup.sh
# Pick lunch targets
# AARCH64
lunch flame-userdebug
# ARM32
tapas

# Finally build the binaries
mmma external/perfetto

# Copy Outputs to prebuilts
# aarch64, arm32 are the suffixes being used.
# <xxx> = generic for aosp_arm

cp <aosp_root>/out/target/product/<xxx>/system/bin/trace_processor_shell <androidx-root>/prebuilts/androidx/traceprocessor/trace_processor_shell/trace_processor_shell_<suffix>