Skip to content

Commit 6e167ca

Browse files
committed
trace: make CONFIG_TRACE=n the default for Zephyr builds
Make CONFIG_TRACE=n the default for Zephyr builds and update document to explain the trade-offs when using CONFIG_TRACE on Zephyr. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent 40f0911 commit 6e167ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/trace/Kconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ menu "Trace"
66

77
config TRACE
88
bool "Trace"
9+
default n if ZEPHYR_SOF_MODULE
910
default y
1011
help
11-
Enabling traces. All traces (normal and error) are sent by dma.
12+
Enable SOF DMA based traces compatible with the sof-logger tool.
13+
With Zephyr, RTOS side events are not seen in the SOF trace, so native
14+
Zephyr logging (CONFIG_ZEPHYR_LOG) is recommended instead.
1215

1316
config TRACEV
1417
bool "Trace verbose"

0 commit comments

Comments
 (0)