Linux-6.18.2/tools/perf/Documentation/android.txt
2025-12-23 20:06:59 +08:00

11 lines
392 B
Plaintext

How to compile perf for Android
===============================
There are two ways to build perf and run it on Android:
- Method 1: Build perf with static linking. See Build.txt, section
"4) Cross compilation" for how to build a static perf binary.
- Method 2: Download the Android NDK and use the bundled Clang to
build perf. See Build.txt, section "5) Build with clang" for details.