Skip to content

Commit

Permalink
trace: make CONFIG_TRACE=n the default for Zephyr builds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kv2019i committed Oct 18, 2024
1 parent ef292d2 commit f36a4c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/trace/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ menu "Trace"

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

config TRACEV
bool "Trace verbose"
Expand Down

0 comments on commit f36a4c9

Please sign in to comment.