On Fri, Jan 9, 2026 at 10:35 AM Mikko Rapeli <[email protected]>
wrote:

> It is not available on other architectures.
>
>
Since this is a single option, I'd leave it as-is. Just
for ease of use, since this is something that is often
enabled via KERNEL_FEATURES.

Bruce



> Signed-off-by: Mikko Rapeli <[email protected]>
> ---
>  features/profiling/profiling.cfg        | 1 -
>  features/profiling/profiling.scc        | 4 ++++
>  features/profiling/profiling_x86_64.cfg | 2 ++
>  3 files changed, 6 insertions(+), 1 deletion(-)
>  create mode 100644 features/profiling/profiling_x86_64.cfg
>
> diff --git a/features/profiling/profiling.cfg
> b/features/profiling/profiling.cfg
> index 9728b8898162..95912c8e3947 100644
> --- a/features/profiling/profiling.cfg
> +++ b/features/profiling/profiling.cfg
> @@ -2,4 +2,3 @@
>  # for oprofile and powertop
>  CONFIG_PROFILING=y
>  CONFIG_FRAME_POINTER=y
> -CONFIG_X86_LOCAL_APIC=y
> diff --git a/features/profiling/profiling.scc
> b/features/profiling/profiling.scc
> index 3bced1a7e3ca..8d3a31fb4234 100644
> --- a/features/profiling/profiling.scc
> +++ b/features/profiling/profiling.scc
> @@ -4,4 +4,8 @@ define KFEATURE_COMPATIBILITY board
>
>  kconf non-hardware profiling.cfg
>
> +if [ "${KARCH}" = "x86_64" ]; then
> +       kconf hardware profiling_x86_64.cfg
> +fi
> +
>  include features/debug/debug-kernel.scc
> diff --git a/features/profiling/profiling_x86_64.cfg
> b/features/profiling/profiling_x86_64.cfg
> new file mode 100644
> index 000000000000..8806afff8c27
> --- /dev/null
> +++ b/features/profiling/profiling_x86_64.cfg
> @@ -0,0 +1,2 @@
> +# SPDX-License-Identifier: MIT
> +CONFIG_X86_LOCAL_APIC=y
> --
> 2.34.1
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16166): 
https://lists.yoctoproject.org/g/linux-yocto/message/16166
Mute This Topic: https://lists.yoctoproject.org/mt/117176770/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to