Skip to content

Conversation

@tmleman
Copy link
Contributor

@tmleman tmleman commented Feb 28, 2025

I am only testing the PR in Zephyr.

@tmleman tmleman force-pushed the topic/upstream/cionly/zephyr_pr/86473 branch 2 times, most recently from 6843edb to 09a0fb4 Compare March 5, 2025 12:43
tmleman added 3 commits March 5, 2025 14:50
I am only testing the PR in Zephyr.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
This patch updates the debug overlay configuration to enable the
`LOG_BACKEND_ADSP_MTRACE_AUTOSTART` option. By setting this option to
'y', the ADSP mtrace logging backend will automatically start in the
debug overlay, facilitating detailed logging for debugging purposes.
This change allows developers to capture comprehensive logs during
debugging sessions, aiding in the identification and resolution of
issues.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
This patch addresses an issue where logs were not being collected after
an IPC message when the mtrace autostart was disabled in regular builds.

The problem was resolved by replacing `log_backend_activate` and
`log_backend_deactivate` with `log_backend_enable` and
`log_backend_disable`, respectively. These functions ensure that the
backend is properly enabled with the initial maximum filtering level and
disabled when necessary. This change ensures that logging behavior
aligns with the intended configuration, allowing logs to be collected as
expected after an IPC message.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant