logging: Elaborate description of CONFIG_LOG_STRDUP_BUF_COUNT

Description is improved, guidelines for when increase is required are
provided, together with associated overheads information.

Fixes: #11007

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2018-11-30 10:16:27 +03:00 committed by Anas Nashif
commit 226ff48384

View file

@ -273,8 +273,11 @@ config LOG_STRDUP_BUF_COUNT
int "Number of buffers in the pool used by log_strdup()"
default 4
help
When pool is empty log_strdup() returns warning string instead of the
copy.
Number of calls to log_strdup() which can be pending before flushed
to output. If "<log_strdup alloc failed>" message is seen in the log
output, it means this value is too small and should be increased.
Each entry takes CONFIG_LOG_STRDUP_MAX_STRING bytes of memory plus
some additional fixed overhead.
config LOG_DOMAIN_ID
int "Domain ID"