-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Initial work to port EventPipe library to NativeAOT #80382
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
Changes from 24 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
cc5971f
CoreCLR shim files renamed to AOT
LakshanF 9cf5f08
change coreclr references to aot
LakshanF ac16e8e
Native AOT runtime implementation
LakshanF 418f8c3
hooks to EP library from AOT
LakshanF 179585e
Container code
LakshanF 8502406
Maanged to Native hooks
LakshanF a4ee746
build artifacts
LakshanF fe8252c
required changes to NativeAOT to support EP
LakshanF 4b9e103
changes to common EP source
LakshanF 548e8d7
sample EventSource test app
LakshanF 1a742b0
Add EventPipe lib to the linker
LakshanF a03fcb1
Additional conditions to include the EventPipe library
LakshanF b36a06c
Fixing the Checked and Release and Linux builds
LakshanF c724e36
Merge branch 'main' into ExperimentEventPipe3
LakshanF b152648
separating maanged and native EventSource switches
LakshanF 28e5439
Update src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Nativ…
LakshanF fc77cb9
FB, build break and test fixes
LakshanF f2002f6
fix non-windows build breaks and using paldebugbreak for TODOs
LakshanF 5b3037e
trying another option to get arounf inttypes.h and PRIu64
LakshanF 602f27b
reverting the changes in ep-json file in common code
LakshanF d8b5b98
Add an NativeAOT EventSource test
LakshanF 93b0e9d
FB and only enabling FEATURE_PERFTRACING in Windows
LakshanF 31535fe
fix DiagnosticEventSource test
LakshanF cdf37d4
FB
LakshanF 9b17dd2
Update src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Nativ…
LakshanF 34a44c4
Added GuardCF version and a standalone test
LakshanF f9b008d
Merge branch 'main' into ExperimentEventPipe3
LakshanF c55e32f
Moving NativeAOT headers away from EventPipe common code
LakshanF e4109a2
fix linux build break
LakshanF 4bb2a7a
missed a needed definition in Linux
LakshanF 3419c63
inline eventpipe common source code
LakshanF 97dfa12
Adding Evenpipe lib to a lib test
LakshanF c10ec13
Small cleanups
MichalStrehovsky 1cd0dc5
Fix linux build
MichalStrehovsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
12 changes: 12 additions & 0 deletions
12
src/coreclr/nativeaot/Runtime/DisabledEventPipeInterface.cpp
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
|
|
||
| void EventPipeAdapter_Initialize() {} | ||
|
|
||
| bool DiagnosticServerAdapter_Initialize() { return false; } | ||
| void DiagnosticServerAdapter_PauseForDiagnosticsMonitor() {} | ||
|
|
||
| void EventPipeAdapter_FinishInitialize() {} | ||
|
|
||
| void EventPipeAdapter_Shutdown() {} | ||
| bool DiagnosticServerAdapter_Shutdown() { return false; } |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.