Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -439,13 +439,13 @@ func_kmsg_collect() {

if [[ "$KERNEL_CHECKPOINT" =~ ^[0-9]{10} ]]; then
dlogi "Saving kernel messages since ${KERNEL_CHECKPOINT} to ${journalctl_logs}"
journalctl_cmd --since=@"$KERNEL_CHECKPOINT" -f >> "${journalctl_logs}" &
kernel_logger_cmd --since=@"$KERNEL_CHECKPOINT" -f >> "${journalctl_logs}" &
elif [[ "$KERNEL_CHECKPOINT" == "disabled" ]]; then
dlogi "KERNEL_CHECKPOINT set as DISABLED, saving all kernel messages"
journalctl_cmd -f >> "${journalctl_logs}" &
kernel_logger_cmd -f >> "${journalctl_logs}" &
else
dlogi "KERNEL_CHECKPOINT is not properly set, saving all kernel messages"
journalctl_cmd -f >> "${journalctl_logs}" &
kernel_logger_cmd -f >> "${journalctl_logs}" &
fi
}

Expand Down
2 changes: 1 addition & 1 deletion test-case/check-sof-logger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ run_loggers()
ping_pcm_devices

dlogi "Last kernel activity:"
journalctl_cmd -g ' sof' | tail -n 3
kernel_logger_cmd -g ' sof' | tail -n 3

sleep "$collect_secs"

Expand Down
Loading