Re: [PATCH] sched_ext: add CONFIG_DEBUG_INFO_BTF dependency
From: Tejun Heo
Date: Thu Jun 27 2024 - 15:07:38 EST
On Thu, Jun 27, 2024 at 08:45:22PM +0200, Andrea Righi wrote:
> Without BTF, attempting to load any sched_ext scheduler will result in
> an error like the following:
>
> libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?
>
> This makes sched_ext pretty much unusable, so explicitly depend on
> CONFIG_DEBUG_INFO_BTF to prevent these issues.
>
> Signed-off-by: Andrea Righi <andrea.righi@xxxxxxxxxxxxx>
Applied to sched_ext/for-6.11.
Thanks.
--
tejun