Skip to content

Commit b78345e

Browse files
Setup support for managed runtime events (#87785)
* preliminery managed runtime event support * Linux fixes 1 * full portable threadpool support * checkpoint before python script * Additional GC event support * NativeAOT to use sink threadpool file * CI check * Enable GC runtime tests * Post main merge fixups * change tests that run in CI * Support native sinks for threading events * Enable managed exceptions via eventpipe * Move Exception event to EventPipe * Add an empty exception event to disabled EventPipe * make events do no-op in disabled eventpipe * Update src/coreclr/nativeaot/Runtime/clretwallmain.h Co-authored-by: Elinor Fung <[email protected]> * FB first stage * Test change * FB * latest FB * Pulled PR 88365 * FB --------- Co-authored-by: Elinor Fung <[email protected]>
1 parent b3d2503 commit b78345e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+3172
-696
lines changed

eng/pipelines/runtime.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ extends:
248248
extraStepsTemplate: /eng/pipelines/coreclr/nativeaot-post-build-steps.yml
249249
extraStepsParameters:
250250
creator: dotnet-bot
251-
testBuildArgs: 'nativeaot tree ";nativeaot;Loader;Interop;tracing/eventpipe/config;tracing/eventpipe/diagnosticport;tracing/eventpipe/reverse;" test tracing/eventcounter/runtimecounters.csproj /p:BuildNativeAotFrameworkObjects=true'
251+
testBuildArgs: 'nativeaot tree ";nativeaot;Loader;Interop;tracing/eventpipe/config;tracing/eventpipe/diagnosticport;tracing/eventpipe/reverse;tracing/eventpipe/simpleruntimeeventvalidation;" test tracing/eventcounter/runtimecounters.csproj /p:BuildNativeAotFrameworkObjects=true'
252252
liveLibrariesBuildConfig: Release
253253
testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)
254254
extraVariablesTemplates:
@@ -290,7 +290,7 @@ extends:
290290
extraStepsTemplate: /eng/pipelines/coreclr/nativeaot-post-build-steps.yml
291291
extraStepsParameters:
292292
creator: dotnet-bot
293-
testBuildArgs: 'nativeaot tree ";nativeaot;tracing/eventpipe/simpleprovidervalidation;"'
293+
testBuildArgs: 'nativeaot tree ";nativeaot;tracing/eventpipe/providervalidation;"'
294294
liveLibrariesBuildConfig: Release
295295
testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)
296296
extraVariablesTemplates:

src/coreclr/nativeaot/Runtime/EventPipeInterface.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
#ifndef __EVENTPIPE_INTERFACE_H__
5-
#define __EVENTPIPE_INTERFACE_H__
4+
#ifndef EVENTPIPE_INTERFACE_H
5+
#define EVENTPIPE_INTERFACE_H
66

77
// Initialize EventPipe
88
void EventPipeAdapter_Initialize();
@@ -18,4 +18,4 @@ void EventPipeAdapter_FinishInitialize();
1818
void EventPipeAdapter_Shutdown();
1919
bool DiagnosticServerAdapter_Shutdown();
2020

21-
#endif //__EVENTPIPE_INTERFACE_H__
21+
#endif //EVENTPIPE_INTERFACE_H

0 commit comments

Comments
 (0)