Add ManagedRuntimeEventSource (dotnet/coreclr#22515)
authorSung Yoon Whang <suwhang@microsoft.com>
Wed, 20 Feb 2019 05:40:12 +0000 (21:40 -0800)
committerGitHub <noreply@github.com>
Wed, 20 Feb 2019 05:40:12 +0000 (21:40 -0800)
commit1d35896b754aaafe1295345d426618cc7ed012a6
treebdfe4d6b3ba62beceff16930c9f6d76e3cc6eeb5
parentae246a61c947106b14df9941a990e90a7d7b0706
Add ManagedRuntimeEventSource (dotnet/coreclr#22515)

* Adding a dummy ManagedRuntimeEventSource

* Add ManagedRuntimeEventSource

* Renaming ManagedRuntimeEventSource to RuntimeEventSource

* some cleanup

* use Condition instead of ifdefing out the whole file

* some cleanups

* remove unused namespaces

* Move m_RuntimeEventSource to RuntimeEventSource from EventPipeController

* Adding some TODO items

* address more pr comments

* Use GUID to initialize RuntimeEventSource

* Exclude BasicEventSourceTests from CoreFX test CI leg

* Addressing rest of the PR feedback

* dont dispose counters on disable command to avoid races

Commit migrated from https://github.com/dotnet/coreclr/commit/7322038ab453067787c9d8ea2ac9047c76c434ff
src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs
src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSource.cs [new file with mode: 0644]
src/coreclr/tests/CoreFX/CoreFX.issues.json