Expose OSThreadId and TimeStamp on EventWrittenEventArgs (#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)
commitc4c16723a83c995838508ed7bca7fb99687f6d40
tree353e30ee3936156ca831264a2292a248af06d825
parent2293351dc5eeb00681c38b3c1e5975b4d1ce3609
Expose OSThreadId and TimeStamp on EventWrittenEventArgs (#19002)

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

* Plumb ActivityId and RelatedActivityId to EventListener.
18 files changed:
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
src/System.Private.CoreLib/src/Internal/Runtime/Augments/RuntimeThread.cs
src/System.Private.CoreLib/src/System/Diagnostics/Eventing/DotNETRuntimeEventSource.cs
src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipe.cs
src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventDispatcher.cs
src/pal/inc/pal.h
src/pal/src/thread/thread.cpp
src/vm/comcallablewrapper.cpp
src/vm/comsynchronizable.cpp
src/vm/comsynchronizable.h
src/vm/ecalllist.h
src/vm/eventpipe.cpp
src/vm/eventpipe.h
src/vm/eventpipesession.cpp
src/vm/eventpipesession.h
tests/src/baseservices/threading/coverage/OSThreadId/OSThreadId.cs [new file with mode: 0644]
tests/src/baseservices/threading/coverage/OSThreadId/osthreadid.csproj [new file with mode: 0644]
tests/src/tracing/runtimeeventsource/RuntimeEventSourceTest.cs