Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -740,11 +740,14 @@ logger_disabled()
{
local ldcFile
# Some firmware/OS configurations do not support logging.
ldcFile=$(find_ldc_file) || {
dlogi '.ldc dictionary file not found, SOF logs collection disabled'
return 0 # 0 is 'true'
}

# mtrace doesn't require ldc file on IPC4-Zephyr platforms.
if ! is_ipc4; then
ldcFile=$(find_ldc_file) || {
dlogi '.ldc dictionary file not found, SOF logs collection disabled'
return 0 # 0 is 'true'
}
fi

# Disable logging when available...
if [ ${OPT_VAL['s']} -eq 0 ]; then
return 0
Expand Down