Re: [PATCH v2 1/6] scripts/Kconfig.toolchain: Remove CONFIG_CC_HAS_NO_PROFILE_FN_ATTR

From: Nicolas Schier

Date: Thu Nov 12 2026 - 06:48:11 EST


On Wed, Nov 11, 2026 at 05:52:03PM -0700, Nathan Chancellor wrote:
> __attribute__((no_profile_instrument_function)) was first supported in
> GCC 7 and clang-13, which is higher than both the minimum supported
> versions of both compilers. This configuration is always 'y', thus it
> can be removed.
>
> Reviewed-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx>
> ---
> kernel/gcov/Kconfig | 1 -
> scripts/Kconfig.toolchain | 3 ---
> 2 files changed, 4 deletions(-)

Thanks.

Reviewed-by: Nicolas Schier <nsc@xxxxxxxxxx>

--
Nicolas