Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging: Increase thread stack size when net backend in use #34573

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions subsys/logging/Kconfig.processing
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,15 @@ config LOG_PROCESS_THREAD_SLEEP_MS

config LOG_PROCESS_THREAD_STACK_SIZE
int "Stack size for the internal log processing thread"
default 2048 if COVERAGE_GCOV
default 1024 if NO_OPTIMIZATIONS
default 1024 if XTENSA
default 4096 if (X86 && X86_64)
default 4096 if ARM64
default 4096 if SPARC
default 2048 if COVERAGE_GCOV
default 2048 if (RISCV && 64BIT)
default 2048 if LOG_BACKEND_FS
default 1152 if LOG_BACKEND_NET
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a note that in CONFIG_USERSPACE builds on ARMv7-M, this gets rounded up to 2048

default 1024 if NO_OPTIMIZATIONS
default 1024 if XTENSA
default 768
help
Set the internal stack size for log processing thread.
Expand Down