Commit 99710e8e authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

debug: added board-specific debug message group

parent 15c55998
......@@ -371,6 +371,12 @@ config TRACE_DEVICES_ENABLE
bool "Print device driver trace messages"
default n
config TRACE_BOARD_ENABLE
depends on TRACE_MSGS
bool "Print board-specific trace messages"
default n
config TRACE_ALL
int
default 1 if TRACE_ALL_ENABLE
......@@ -391,6 +397,10 @@ config TRACE_DEVICES
default 1 if TRACE_DEVICES_ENABLE
default 0
config TRACE_BOARD
int
default 1 if TRACE_BOARD_ENABLE
default 0
comment "wrpc-sw is tainted if you change the following options"
config DEVELOPER
......
......@@ -14,7 +14,7 @@
{ \
va_list vargs; \
va_start(vargs, fmt); \
pp_printf("[" #subsys_name "] "); \
pp_printf("[" subsys_name "] "); \
pp_vprintf(fmt, vargs); \
va_end(vargs); \
} \
......@@ -23,5 +23,6 @@
WRC_DEFINE_TRACE_MSG(CONFIG_TRACE_MAIN, "main", main_dbg)
WRC_DEFINE_TRACE_MSG(CONFIG_TRACE_STORAGE, "storage", storage_dbg)
WRC_DEFINE_TRACE_MSG(CONFIG_TRACE_DEVICES, "dev", dev_dbg)
WRC_DEFINE_TRACE_MSG(CONFIG_TRACE_BOARD, "board", board_dbg)
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment