logging: use os as a domain for low level system debugging
We had both kernel and os as domains covering low level layers, just use one and fix the issue of the os domain not being registered. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
69c01d11e5
commit
6d359df592
3 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ static inline void stack_analyze(const char *name, const char *stack,
|
|||
unsigned int size)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_INIT_STACKS)) {
|
||||
LOG_MODULE_DECLARE(kernel, CONFIG_KERNEL_LOG_LEVEL);
|
||||
LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
|
||||
|
||||
unsigned int unused = stack_unused_space_get(stack, size);
|
||||
unsigned int pcnt = ((size - unused) * 100U) / size;
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#define IDLE_THREAD_NAME "idle"
|
||||
#define LOG_LEVEL CONFIG_KERNEL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(kernel);
|
||||
LOG_MODULE_REGISTER(os);
|
||||
|
||||
/* boot banner items */
|
||||
#if defined(CONFIG_MULTITHREADING) && defined(CONFIG_BOOT_DELAY) \
|
||||
|
|
|
@ -36,7 +36,7 @@ K_APPMEM_PARTITION_DEFINE(k_mbedtls_partition);
|
|||
|
||||
#define LOG_LEVEL CONFIG_KERNEL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_DECLARE(kernel);
|
||||
LOG_MODULE_DECLARE(os);
|
||||
|
||||
/* The originally synchronization strategy made heavy use of recursive
|
||||
* irq_locking, which ports poorly to spinlocks which are
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue