diff --git a/case-lib/lib.sh b/case-lib/lib.sh index b393dc0b..f702844d 100644 --- a/case-lib/lib.sh +++ b/case-lib/lib.sh @@ -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 } diff --git a/test-case/check-sof-logger.sh b/test-case/check-sof-logger.sh index 763fa177..133029b2 100755 --- a/test-case/check-sof-logger.sh +++ b/test-case/check-sof-logger.sh @@ -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"