Re: [PATCH] kbuild: AutoFDO: Disable Profi (-fno-sample-profile-use-profi)
From: Doug Anderson
Date: Fri Nov 06 2026 - 13:05:05 EST
Hi,
On Fri, Nov 6, 2026 at 9:43 AM Rong Xu <xur@xxxxxxxxxx> wrote:
>
> Just one thing: I think we should also have this flag for Rust so Rust
> and c are consistent.
Please see the commit message, which says:
> RUSTFLAGS_AUTOFDO_CLANG and KBUILD_LDFLAGS do not need changes because
> SampleProfileUseProfi remains false by default in the LLVM backend and
> is only enabled by the Clang driver.
Is that incorrect?
-Doug