Repository navigation
Extract PMU profile source logic into reusable helpers - #2188
Arvean-microsoft wants to merge 2 commits into
Conversation
Adds SystemPmuSourceAddInformation (259) and SystemPmuSourceRemoveInformation (260) as new SYSTEM_INFORMATION_CLASS values for NtSetSystemInformation, providing a direct interface to PMU profile source management without routing through ETW.
|
Arvean-microsoft : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
John Kennedy (GrantMeStrength)
left a comment
There was a problem hiding this comment.
LGTM — accurate technical correction. Approved.
|
Copilot /review |
John Kennedy (GrantMeStrength)
left a comment
There was a problem hiding this comment.
Reviewed ✅ — Documentation improvement looks good.
|
Arvean-microsoft : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. KB (@Karl-Bridge-Microsoft) |
1 similar comment
|
Arvean-microsoft : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. KB (@Karl-Bridge-Microsoft) |
There was a problem hiding this comment.
🟡 Changes recommended
The new set-only classes are incorrectly documented as NtQuerySystemInformation inputs.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Documents new PMU profile-source add/remove information classes, but places set-only operations under NtQuerySystemInformation.
Changes:
- Adds PMU class keywords and structure layouts.
- Documents architecture-specific PMU fields.
File summaries
| File | Description |
|---|---|
sdk-api-src/content/winternl/nf-winternl-ntquerysysteminformation.md |
Adds PMU source documentation to the query API topic. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| #### SystemPmuSourceAddInformation | ||
|
|
||
| Accepts a <b>SYSTEM_PMU_SOURCE_ADD_INFORMATION</b> structure that describes a PMU (Performance Monitoring Unit) profile source to add. |
Adds SystemPmuSourceAddInformation (259) and SystemPmuSourceRemoveInformation (260) as new SYSTEM_INFORMATION_CLASS values for NtSetSystemInformation, providing a direct interface to PMU profile source management without routing through ETW.