Skip to content

Fix build with disabled event trace/perftracing - #130305

Merged
MichalStrehovsky merged 6 commits into
dotnet:mainfrom
kant2002:kant/fix-event-trace
Jul 14, 2026
Merged

MichalStrehovsky merged 6 commits into
dotnet:mainfrom
kant2002:kant/fix-event-trace

Conversation

@kant2002

@kant2002 kant2002 commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

That's changes only for NativeAOT and I did test only these configuration

set(FEATURE_PERFTRACING 0)
set(FEATURE_EVENT_TRACE 0)

Also disable EventSourceSupport in the AotCompilerCommon.props

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Jul 7, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
See info in area-owners.md if you want to be subscribed.

@MichalStrehovsky MichalStrehovsky left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There are build breaks.

@MichalStrehovsky MichalStrehovsky left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good otherwise!

@MichalStrehovsky MichalStrehovsky left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! It didn't work yet E2E (unresolvable symbols) but with #130663 it does.

@MichalStrehovsky
MichalStrehovsky merged commit 8c33fe4 into dotnet:main Jul 14, 2026
113 of 115 checks passed
eiriktsarpalis pushed a commit that referenced this pull request Jul 15, 2026
That's changes only for NativeAOT and I did test only these
configuration
```
set(FEATURE_PERFTRACING 0)
set(FEATURE_EVENT_TRACE 0)
```

Also disable EventSourceSupport in the AotCompilerCommon.props
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 15, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants