Reduce redundant eBPF error logs - #5551
Open
Anurag Saxena (saxena-anurag) wants to merge 4 commits into
Open
Conversation
Contributor
Anurag Saxena (saxena-anurag)
marked this pull request as ready for review
September 2, 2026 22:14
Anurag Saxena (saxena-anurag)
requested review from
Alan Jowett (Alan-Jowett),
Andrew Beltrano (abeltrano),
Dave Thaler (dthaler),
Laksh (lakshk98),
Matthew Ige (matthewige),
Maksim S. (maxsud),
D. Michael Agun (mikeagun),
Michael Friesen (mtfriesen),
poornagmsft and
Shankar Seal (shankarseal)
as code owners
September 2, 2026 22:14
Anurag Saxena (saxena-anurag)
enabled auto-merge
September 2, 2026 22:14
7 tasks
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR reduces the ERROR level messages generated for eBPF for 2 of the expected flows.
Enumeration completion and nonmatching provider candidates are now not reported as errors. Actual validation, attachment, and unexpected operation failures continue to be logged at error severity.
Changes
Enumeration completion
Treat the following equivalent results as normal completion for enumeration operations:
EBPF_NO_MORE_KEYSSTATUS_NO_MORE_MATCHESERROR_NO_MORE_MATCHESThe suppression is scoped to known enumeration operations. The same result remains an error for non-enumeration operations.
Updated paths include:
DeviceIoControlhandlingProgram-information provider discovery
Reduce the severity of mismatch GUID messages in program info provider callback (both general and program type specific) to VERBOSE.
Expected Impact
In the analyzed production sample:
These changes remove expected enumeration completion and provider discovery from the production error stream while preserving actionable failures.
Testing
Manually ran the scenarios and validated that the traces are now being emitted at VERBOSE level.
Notes
The API behavior and returned status values are unchanged. This PR changes only the severity and duplication of telemetry for expected control-flow results.