Skip to content

Commit ded889b

Browse files
author
Jyri Sarha
committed
app: debug_stream_overlay.conf: Enable exception hook
Enabling Zephyr exception hook directs Zephyr exceptions dumps to debug_stream text message. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent 7832931 commit ded889b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/debug_stream_overlay.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ CONFIG_SOF_DEBUG_STREAM_TEXT_MSG=y
66
CONFIG_SOF_DEBUG_STREAM_THREAD_INFO=y
77
# Zephyr option for storing human readable thread names
88
CONFIG_THREAD_NAME=y
9+
# For Zephyr to compile with thread names on PTL we need to increase THREAD_BYTES
10+
CONFIG_MAX_THREAD_BYTES=4
911

1012
# Debug window slot configuration 1
1113
# The CONFIG_SOF_TELEMETRY uses slot 2, but with performance and IO-performance
@@ -20,3 +22,9 @@ CONFIG_SOF_TELEMETRY_IO_PERFORMANCE_MEASUREMENTS=n
2022
#CONFIG_SOF_TELEMETRY_PERFORMANCE_MEASUREMENTS=n
2123
#CONFIG_SOF_TELEMETRY_IO_PERFORMANCE_MEASUREMENTS=n
2224

25+
# Enable Zephyr exception printing hook, debug stream is sensitive to this option too
26+
CONFIG_EXCEPTION_DUMP_HOOK=y
27+
# Do not try to sen the exception prints through logs, this causes probles on PTL with mtrace
28+
CONFIG_EXCEPTION_DUMP_HOOK_ONLY=y
29+
# Print also backtrace through the exception hook
30+
CONFIG_XTENSA_BACKTRACE_EXCEPTION_DUMP_HOOK=y

0 commit comments

Comments
 (0)