1# Kernel thread configuration options 2 3# Copyright (c) 2024 Meta Platforms 4# SPDX-License-Identifier: Apache-2.0 5 6config KERNEL_THREAD_SHELL 7 bool 8 help 9 Internal helper macro to determine if the main `thread` command 10 should be compiled. 11 12config KERNEL_THREAD_SHELL_LIST 13 bool 14 default y 15 depends on INIT_STACKS 16 depends on THREAD_MONITOR 17 depends on THREAD_STACK_INFO 18 select KERNEL_THREAD_SHELL 19 help 20 Internal helper macro to compile the `list` subcommand 21 22config KERNEL_THREAD_SHELL_STACKS 23 bool 24 default y 25 depends on INIT_STACKS 26 depends on THREAD_MONITOR 27 depends on THREAD_STACK_INFO 28 select KERNEL_THREAD_SHELL 29 help 30 Internal helper macro to compile the `stacks` subcommand 31 32config KERNEL_THREAD_SHELL_MASK 33 bool 34 default y 35 depends on SCHED_CPU_MASK 36 select KERNEL_THREAD_SHELL 37 help 38 Internal helper macro to compile the `mask` subcommand 39 40config KERNEL_THREAD_SHELL_PIN 41 bool 42 default y 43 depends on SCHED_CPU_MASK 44 select KERNEL_THREAD_SHELL 45 help 46 Internal helper macro to compile the `pin` subcommand 47 48config KERNEL_THREAD_SHELL_UNWIND 49 bool 50 default y 51 depends on ARCH_STACKWALK 52 select KERNEL_THREAD_SHELL 53 help 54 Internal helper macro to compile the `unwind` subcommand 55