tools/perf/Documentation/android.txt

Source file repositories/reference/linux-study-clean/tools/perf/Documentation/android.txt

File Facts

System
Linux kernel
Corpus path
tools/perf/Documentation/android.txt
Extension
.txt
Size
392 bytes
Lines
11
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

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.

Annotation

Implementation Notes