Skip to content
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

Print Kernel hang status only in debug mode #157

Merged
merged 1 commit into from
Sep 12, 2022

Conversation

zibaiwan
Copy link
Contributor

In the earlier commit aeff9bb, this guarding conditions for the messages if (kern->io.debug_verbosity > 0) was removed accidentally, now adding it back.

Thanks @sophimao for discovering this regression.

Now the Runtime only prints the Kernel hang message in the debug mode.

In the earlier commit aeff9bb, this guarding conditions for the messages if (kern->io.debug_verbosity > 0) was removed accidentally, now adding it back
@zibaiwan zibaiwan requested a review from sophimao September 12, 2022 20:27
@zibaiwan zibaiwan self-assigned this Sep 12, 2022
@zibaiwan zibaiwan added bug Something isn't working and removed bug Something isn't working labels Sep 12, 2022
@pcolberg
Copy link
Contributor

@zibaiwan Should this be backported to the 2022.3 branch? If so, after this is merged and you have the merged commit hash, please see the instructions for backporting to submit a PR against 2022.3.

@zibaiwan
Copy link
Contributor Author

@zibaiwan Should this be backported to the 2022.3 branch? If so, after this is merged and you have the merged commit hash, please see the instructions for backporting to submit a PR against 2022.3.

Thanks @pcolberg. I don't think this is required to be backported as there is no functional issue. The user will see their kernel status printed only if their kernel is hang. I believe it's fine to go into the next release.

@zibaiwan zibaiwan removed the bug Something isn't working label Sep 12, 2022
Copy link
Contributor

@sophimao sophimao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks Zibai!

@zibaiwan zibaiwan merged commit 4ad6816 into intel:main Sep 12, 2022
@zibaiwan zibaiwan deleted the fix-debug-printf-guard branch September 12, 2022 21:29
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.

3 participants