Skip to content

Commit 5c1957e

Browse files
author
Jyri Sarha
committed
app: add new debug_stream_overlay.conf
Add overlay to build debug_stream protocol over a debug window slot, make room for the slot, and send thread info data through it. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent 558ddfb commit 5c1957e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

app/debug_stream_overlay.conf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Enable debug-stream protocol
2+
CONFIG_SOF_DEBUG_STREAM_SLOT=y
3+
# Add thread_info-client for debug stream
4+
CONFIG_SOF_DEBUG_STREAM_THREAD_INFO=y
5+
# Zephyr option for storing human readable thread names
6+
CONFIG_THREAD_NAME=y
7+
8+
# Debug window slot configuration 1
9+
# The CONFIG_SOF_TELEMETRY uses slot 2, but with performance and IO-performance
10+
# it extends beyond slot 3.
11+
CONFIG_MEMORY_WIN_2_SIZE=16384
12+
CONFIG_SOF_TELEMETRY_PERFORMANCE_MEASUREMENTS=n
13+
CONFIG_SOF_TELEMETRY_IO_PERFORMANCE_MEASUREMENTS=n
14+
15+
# If we turn telemetry off all together, we can use slot 2. Slot 1 is used by mtrace
16+
#CONFIG_SOF_DEBUG_STREAM_SLOT_NUMBER=2
17+
#CONFIG_SOF_TELEMETRY=n
18+
#CONFIG_SOF_TELEMETRY_PERFORMANCE_MEASUREMENTS=n
19+
#CONFIG_SOF_TELEMETRY_IO_PERFORMANCE_MEASUREMENTS=n
20+

0 commit comments

Comments
 (0)