Re: [PATCH v2 6/6] perf docs: Document cross compilation

From: Leo Yan
Date: Tue Jun 25 2024 - 14:16:30 EST




On 6/10/24 19:43, Ian Rogers wrote:

Records the commands for cross compilation with two methods.

The first method relies on Multiarch. The second approach is to
explicitly
specify the PKG_CONFIG variables, which is widely used in build system
(like Buildroot, Yocto, etc).


There is also:
https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/tree/tools/perf/Documentation/android.txt?h=perf-tools-next
it looks very crufty, not least as it is referring to 32-bit builds

Could this be refreshed or deleted?

Yeah, the doc is quite old.

Actually, this patch series is to support static building, I assume a main usage case is to use the static building binary for Android.

I will give a try for building perf with Android NDK. I will base on my test result to update the file android.txt or remove it.

Thanks
Leo