sched_ext: Build fix on !CONFIG_STACKTRACE[_SUPPORT]
authorTejun Heo <tj@kernel.org>
Wed, 31 Jul 2024 18:56:31 +0000 (08:56 -1000)
committerTejun Heo <tj@kernel.org>
Thu, 1 Aug 2024 17:08:01 +0000 (07:08 -1000)
commita2f4b16e736d62892ffd333996a7d682b57f6664
tree0c7020e73715691cd881c028a85601759b93f573
parent958b1891846e768584a4d44aed9fabc6f9a445fb
sched_ext: Build fix on !CONFIG_STACKTRACE[_SUPPORT]

scx_dump_task() uses stack_trace_save_tsk() which is only available when
CONFIG_STACKTRACE. Make CONFIG_SCHED_CLASS_EXT select CONFIG_STACKTRACE if
the support is available and skip capturing stack trace if
!CONFIG_STACKTRACE.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407161844.reewQQrR-lkp@intel.com/
Acked-by: David Vernet <void@manifault.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/Kconfig.preempt
kernel/sched/ext.c
This page took 0.053867 seconds and 4 git commands to generate.