-
Notifications
You must be signed in to change notification settings - Fork 350
app: os_linux_overlay: use Linux log format by default #10501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y to the Linux overlay. This aligns the timestamp format between SOF firmware and host Linux kernel logs. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enables Linux-formatted timestamps in SOF firmware logs to align with host kernel log timestamps, improving log correlation and debugging.
Changes:
- Enables
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMPin the Linux overlay configuration
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lgirdwood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LHTM, Btw will there be a followup PR for GDB on LNL+
| # SOF Linux driver does not require FW to retain its | ||
| # state, so context save can be disabled | ||
| CONFIG_ADSP_IMR_CONTEXT_SAVE=n | ||
| CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can enable this Kconfig option as a project default or an intel_adsp default. It is already enabled for CAVS25, MTL, LNL, PTL, and WCL boards, and is likely just missing for NVL, so there is no need to differentiate it in the Linux overlay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, @abonislawski not sure if everybody is ok with the Linux format, but let me do a PR and allow people a chance to review.
Add CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y to the Linux overlay. This aligns the timestamp format between SOF firmware and host Linux kernel logs.