zephyr/subsys/shell/modules/kernel_service/thread/Kconfig
Jeremy Bettis e1cfd098a2 shell: Fix Kconfig dependencies
PR #84651 introduced new shell commands that don't compile if
CONFIG_THREAD_MONITOR=n

Add THREAD_MONITOR to new shell commands.

Signed-off-by: Jeremy Bettis <jbettis@google.com>
2025-02-06 21:14:01 +01:00

80 lines
1.7 KiB
Plaintext

# Kernel thread configuration options
# Copyright (c) 2024 Meta Platforms
# SPDX-License-Identifier: Apache-2.0
config KERNEL_THREAD_SHELL
bool
depends on THREAD_MONITOR
help
Internal helper macro to determine if the main `thread` command
should be compiled.
config KERNEL_THREAD_SHELL_LIST
bool
default y
depends on INIT_STACKS
depends on THREAD_MONITOR
depends on THREAD_STACK_INFO
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the `list` subcommand
config KERNEL_THREAD_SHELL_STACKS
bool
default y
depends on INIT_STACKS
depends on THREAD_MONITOR
depends on THREAD_STACK_INFO
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the `stacks` subcommand
config KERNEL_THREAD_SHELL_MASK
bool
default y
depends on SCHED_CPU_MASK
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the `mask` subcommand
config KERNEL_THREAD_SHELL_PIN
bool
default y
depends on SCHED_CPU_MASK
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the `pin` subcommand
config KERNEL_THREAD_SHELL_UNWIND
bool
default y
depends on ARCH_STACKWALK
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the `unwind` subcommand
config KERNEL_THREAD_SHELL_SUSPEND
bool
default y
depends on THREAD_MONITOR
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the 'suspend' subcommand
config KERNEL_THREAD_SHELL_RESUME
bool
default y
depends on THREAD_MONITOR
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the 'resume' subcommand
config KERNEL_THREAD_SHELL_KILL
bool
default y
depends on THREAD_MONITOR
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the 'kill' subcommad