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:
parent
600a2340f2
commit
226ff48384
1 changed files with 5 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue