Skip to content

Benjaming/fix pmc columns#39

Merged
bgn64 merged 3 commits into
mainfrom
benjaming/fix-pmc-columns
Feb 26, 2026
Merged

Benjaming/fix pmc columns#39
bgn64 merged 3 commits into
mainfrom
benjaming/fix-pmc-columns

Conversation

@bgn64

@bgn64 bgn64 commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 26, 2026 19:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an issue with PMC (Performance Monitor Counter) columns not being displayed correctly. The fix addresses two main problems: (1) PMC columns were not showing when PMU counters were used as sampling sources rather than separate counting events, and (2) an async reentrancy issue in the column update mechanism that could cause infinite update loops.

Changes:

  • Version bump from 1.2.0 to 1.2.1 for bugfix release
  • Fixed PMC column display by generating synthetic counter events when PMU counters are used as sampling sources
  • Replaced synchronous Utils.RunSync call with fire-and-forget async pattern to prevent UI blocking while still handling reentrancy

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/ProfileExplorerUI/ProfileExplorerUI.csproj Version bump to 1.2.1 for bugfix release
installer/x64/prepare-installer.cmd Updated installer version to 1.2.1
installer/arm64/prepare-installer.cmd Updated installer version to 1.2.1
.gitignore Added exception to preserve installer directories despite arm64/x64 ignore patterns
src/ProfileExplorerUI/Document/IRDocumentHost.xaml.cs Replaced Utils.RunSync with fire-and-forget async pattern for better reentrancy handling
src/ProfileExplorerCore/Profile/ETW/ETWProfileDataProvider.cs Added synthetic PMC event generation for PMU sampling sources and removed unnecessary Initialized check

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/ProfileExplorerUI/Document/IRDocumentHost.xaml.cs
Comment thread src/ProfileExplorerCore/Profile/ETW/ETWProfileDataProvider.cs
@jhpohovey jhpohovey self-assigned this Feb 26, 2026
@bgn64 bgn64 merged commit ac8d9ef into main Feb 26, 2026
10 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.

4 participants