We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f2814 commit 73d19acCopy full SHA for 73d19ac
subsys/debug/Kconfig
@@ -357,3 +357,7 @@ config CPU_LOAD_LOG_PERIODICALLY
357
default 0
358
help
359
Specifies how often CPU load shall be logged. 0 means that there is no logging.
360
+
361
+module = CPU_LOAD
362
+module-str = cpu_load
363
+source "subsys/logging/Kconfig.template.log_config"
subsys/debug/cpu_load.c
@@ -8,7 +8,7 @@
8
#include <zephyr/kernel.h>
9
#include <zephyr/drivers/counter.h>
10
#include <zephyr/logging/log.h>
11
-LOG_MODULE_REGISTER(cpu_load);
+LOG_MODULE_REGISTER(cpu_load, CONFIG_CPU_LOAD_LOG_LEVEL);
12
13
BUILD_ASSERT(!IS_ENABLED(CONFIG_CPU_LOAD_USE_COUNTER) || DT_HAS_CHOSEN(zephyr_cpu_load_counter));
14
0 commit comments