Skip to content

Add ModuleBaseAddress to ETW manifest #116744

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
merged 1 commit into from
Jun 18, 2025

Conversation

MichalStrehovsky
Copy link
Member

Project N has been generating this for ages. I don't know if anything is broken if it's not in the manifest but at minimum it eliminates the risk that we'd unknowingly reuse this bit.

Cc @dotnet/ilc-contrib

Project N has been generating this for ages. I don't know if anything is broken if it's not in the manifest but at minimum it eliminates the risk that we'd unknowingly reuse this bit.
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jun 17, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a new ModuleBaseAddress flag to the ETW manifest so that the RuntimePublisher.TypeFlags bitfield can emit module base addresses in events.

  • Introduces <map value="0x10" message="$(string.RuntimePublisher.TypeFlags.ModuleBaseAddress)"/> to the TypeFlags map.
  • Adds the corresponding <string id="RuntimePublisher.TypeFlags.ModuleBaseAddress" value="ModuleBaseAddress"/> entry.
Comments suppressed due to low confidence (2)

src/coreclr/vm/ClrEtwAll.man:675

  • Please verify that the native RuntimePublisher.TypeFlags enum (in the runtime source) has been updated to include a ModuleBaseAddress = 0x10 member so the manifest mapping matches the code.
                        <map value="0x10" message="$(string.RuntimePublisher.TypeFlags.ModuleBaseAddress)"/>

@MichalStrehovsky
Copy link
Member Author

/ba-g hostactivation test failure is likely #116520 and unrelated

@MichalStrehovsky MichalStrehovsky merged commit f1a4b89 into dotnet:main Jun 18, 2025
94 of 97 checks passed
@MichalStrehovsky MichalStrehovsky deleted the baseaddr branch June 18, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants