aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/android.txt
blob: 3f3cc7ac3d139c5517ec9458f13c06249c701429 (plain)
1
2
3
4
5
6
7
8
9
10
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.