Move EventSource to shared CoreLib partition (dotnet/coreclr#23925)
commitd5a4f9b8a9a564ac8c493c138fd88175975bb21f
authorFilip Navara <filip.navara@gmail.com>
Tue, 16 Apr 2019 13:52:53 +0000 (16 15:52 +0200)
committerMarek Safar <marek.safar@gmail.com>
Tue, 16 Apr 2019 17:24:43 +0000 (16 19:24 +0200)
tree4431851df1fecd503146b4c3bbe25f8a21d800c4
parent1c568bf16f8baead9952c094967beb262bc344e5
Move EventSource to shared CoreLib partition (dotnet/coreclr#23925)

* Move most of EventSource to shared CoreLib partition

* Reenable some code that can be shared with Microsoft.Diagnostics.Tracing.EventSource.Redist in CoreFX

* Remove unused functions

* Fix placement of #endregion

* Clean up P/Invoke prototypes

* Move remaining code from EventSource_CoreCLR to shared partition (guarded by !CORERT)

* Remove more unnecessary marshalling attributes

* Move remaining CoreRT/ProjectN code to shared partition

* Avoid using Windows errors on non-Windows platforms

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
15 files changed:
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.ActivityControl.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EVENT_INFO_CLASS.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EtwEnableCallback.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventActivityIdControl.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventRegister.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventSetInformation.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventTraceGuidsEx.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventUnregister.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteString.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteTransfer.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Interop.Errors.cs
netcore/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventProvider.cs
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IEventProvider.cs