]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: add CONFIG_DEBUG_INFO_BTF dependency
authorAndrea Righi <andrea.righi@canonical.com>
Thu, 27 Jun 2024 18:45:22 +0000 (20:45 +0200)
committerTejun Heo <tj@kernel.org>
Thu, 27 Jun 2024 19:06:47 +0000 (09:06 -1000)
commitb5ba2e1a955417e78a6018fb736a14c03df0abcd
tree39c4c7e57b2ab6405ef1acfc647fc0345519b669
parent1ff4f169c9f576a73c529365770d82595c53b6ef
sched_ext: add CONFIG_DEBUG_INFO_BTF dependency

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@canonical.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/Kconfig.preempt