Expose OSThreadId and TimeStamp on EventWrittenEventArgs (dotnet/coreclr#19002)
authorBrian Robbins <brianrob@microsoft.com>
Wed, 1 Aug 2018 18:38:39 +0000 (11:38 -0700)
committerGitHub <noreply@github.com>
Wed, 1 Aug 2018 18:38:39 +0000 (11:38 -0700)
commite4db0db92e0c869c57c826b1926e982418037594
tree951f98b1cdb1f8771604bb19d84da14a35464f76
parentd2ab2a9d44b682535787495ddd84b357c91d579b
Expose OSThreadId and TimeStamp on EventWrittenEventArgs (dotnet/coreclr#19002)

* Add EventWrittenEventArgs public properties OSThreadId and TimeStamp and plumb through OSThreadId.

* Plumb ActivityId and RelatedActivityId to EventListener.

Commit migrated from https://github.com/dotnet/coreclr/commit/c4c16723a83c995838508ed7bca7fb99687f6d40
18 files changed:
src/coreclr/src/System.Private.CoreLib/src/Internal/Runtime/Augments/RuntimeThread.cs
src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/DotNETRuntimeEventSource.cs
src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipe.cs
src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventDispatcher.cs
src/coreclr/src/pal/inc/pal.h
src/coreclr/src/pal/src/thread/thread.cpp
src/coreclr/src/vm/comcallablewrapper.cpp
src/coreclr/src/vm/comsynchronizable.cpp
src/coreclr/src/vm/comsynchronizable.h
src/coreclr/src/vm/ecalllist.h
src/coreclr/src/vm/eventpipe.cpp
src/coreclr/src/vm/eventpipe.h
src/coreclr/src/vm/eventpipesession.cpp
src/coreclr/src/vm/eventpipesession.h
src/coreclr/tests/src/baseservices/threading/coverage/OSThreadId/OSThreadId.cs [new file with mode: 0644]
src/coreclr/tests/src/baseservices/threading/coverage/OSThreadId/osthreadid.csproj [new file with mode: 0644]
src/coreclr/tests/src/tracing/runtimeeventsource/RuntimeEventSourceTest.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs