forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial work to port EventPipe library to NativeAOT (dotnet#80382)
* CoreCLR shim files renamed to AOT * change coreclr references to aot * Native AOT runtime implementation * hooks to EP library from AOT * Container code * Maanged to Native hooks * build artifacts * required changes to NativeAOT to support EP * changes to common EP source * sample EventSource test app * Add EventPipe lib to the linker * Additional conditions to include the EventPipe library * Fixing the Checked and Release and Linux builds * separating maanged and native EventSource switches * Update src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets Co-authored-by: Michal Strehovský <[email protected]> * FB, build break and test fixes * fix non-windows build breaks and using paldebugbreak for TODOs * trying another option to get arounf inttypes.h and PRIu64 * reverting the changes in ep-json file in common code * Add an NativeAOT EventSource test * FB and only enabling FEATURE_PERFTRACING in Windows * fix DiagnosticEventSource test * FB * Update src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets Co-authored-by: Michal Strehovský <[email protected]> * Added GuardCF version and a standalone test * Moving NativeAOT headers away from EventPipe common code * fix linux build break * missed a needed definition in Linux * inline eventpipe common source code * Adding Evenpipe lib to a lib test * Small cleanups * Undo unnecessary changes * Make sure runtime can build without FEATURE_PERFTRACING * Fix linux build --------- Co-authored-by: Michal Strehovský <[email protected]>
- Loading branch information
1 parent
5b2ceeb
commit 081d93a
Showing
39 changed files
with
6,274 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.