Re: [PATCH v2] arm64: Allow CONFIG_AUTOFDO_CLANG to be selected
From: Kees Cook
Date: Wed Nov 20 2024 - 12:59:33 EST
On Mon, Nov 18, 2024 at 02:25:40PM -0800, Yabin Cui wrote:
> Select ARCH_SUPPORTS_AUTOFDO_CLANG to allow AUTOFDO_CLANG to be
> selected.
>
> On ARM64, ETM traces can be recorded and converted to AutoFDO profiles.
> Experiments on Android show 4% improvement in cold app startup time
> and 13% improvement in binder benchmarks.
>
> Signed-off-by: Yabin Cui <yabinc@xxxxxxxxxx>
This looks trivial enough to enable. ;) I expect this could go via the
kbuild tree (Masahiro) with an arm64 maintainer Ack.
FWIW:
Reviewed-by: Kees Cook <kees@xxxxxxxxxx>
--
Kees Cook