xref: /linux/tools/perf/Documentation/android.txt (revision 8a7c601e14576a22c2bbf7f67455ccf3f3d2737f)
1How to compile perf for Android
2===============================
3
4There are two ways to build perf and run it on Android:
5
6- Method 1: Build perf with static linking. See Build.txt, section
7  "4) Cross compilation" for how to build a static perf binary.
8
9- Method 2: Download the Android NDK and use the bundled Clang to
10  build perf. See Build.txt, section "5) Build with clang" for details.
11