Skip to content

firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit #1706

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

Merged

Conversation

maheeraeron
Copy link
Contributor

This PR focuses on changing all the tracing statements for diagnostics to use tracelimit instead, with custom period and limits. Without the custom configuration, tracelimit will quickly drop EfiDiagnostics logs.

@maheeraeron maheeraeron changed the title firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit [WIP] firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit Jul 15, 2025
@maheeraeron
Copy link
Contributor Author

maheeraeron commented Jul 15, 2025

If anyone is curious what the output looks like between using tracing::*!(), the old tracelimit::*_ratelimited!() and new with configurable period/limit tracelimit::*_ratelimited!():

traceoutput.txt

@maheeraeron maheeraeron marked this pull request as ready for review July 15, 2025 23:15
@maheeraeron maheeraeron requested a review from a team as a code owner July 15, 2025 23:15
@maheeraeron maheeraeron changed the title [WIP] firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit Jul 15, 2025
Copy link

@maheeraeron maheeraeron merged commit 7a536e1 into microsoft:main Jul 17, 2025
48 of 50 checks passed
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.

2 participants