Use function pointers instead of marshalled delegates in EventSource (#79970)
authorJan Kotas <jkotas@microsoft.com>
Fri, 6 Jan 2023 00:06:05 +0000 (16:06 -0800)
committerGitHub <noreply@github.com>
Fri, 6 Jan 2023 00:06:05 +0000 (16:06 -0800)
commit7d91fd03c1e14b0a2097a8a39b4ec5ebb2b1c489
tree22ac2eeaa451ac7358fd8531e2a645921ed87ede
parent1801b56a60576cdd156134ad80872dbf984e62e7
 Use function pointers instead of marshalled delegates in EventSource (#79970)

* Delete obsolete security kernel annotations

* Use function pointers instead of marshalled delegates in EventSource
32 files changed:
src/coreclr/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipe.CoreCLR.cs
src/coreclr/scripts/genEventPipe.py
src/coreclr/vm/eventpipeadapter.h
src/coreclr/vm/eventpipeinternal.cpp
src/coreclr/vm/eventpipeinternal.h
src/libraries/Common/src/Interop/Windows/Advapi32/Interop.EtwEnableCallback.cs
src/libraries/Common/src/Interop/Windows/Advapi32/Interop.EventRegister.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventPipeEventProvider.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventProvider.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/IEventProvider.cs
src/mono/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventPipe.Mono.cs
src/mono/mono/component/event_pipe-stub.c
src/mono/mono/component/event_pipe.h
src/mono/mono/eventpipe/test/ep-buffer-manager-tests.c
src/mono/mono/eventpipe/test/ep-buffer-tests.c
src/mono/mono/eventpipe/test/ep-fastserializer-tests.c
src/mono/mono/eventpipe/test/ep-file-tests.c
src/mono/mono/eventpipe/test/ep-tests.c
src/mono/mono/metadata/icall-def.h
src/mono/mono/metadata/icall-eventpipe.c
src/native/eventpipe/ep-config-internals.h
src/native/eventpipe/ep-config.c
src/native/eventpipe/ep-config.h
src/native/eventpipe/ep-event-source.c
src/native/eventpipe/ep-provider-internals.h
src/native/eventpipe/ep-provider.c
src/native/eventpipe/ep-provider.h
src/native/eventpipe/ep-sample-profiler.c
src/native/eventpipe/ep-types-forward.h
src/native/eventpipe/ep.c
src/native/eventpipe/ep.h
src/tasks/WasmAppBuilder/PInvokeTableGenerator.cs