diff options
author | Sung Yoon Whang <suwhang@microsoft.com> | 2019-06-20 16:33:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 16:33:51 -0700 |
commit | 9bd2787a9dd2aa4d2b7d4f72afebc3dbe896e896 (patch) | |
tree | 712b8829d3aa9d9d9ac936c8f4b914503bdcdae7 /src/vm/nativeoverlapped.cpp | |
parent | 05a557349f6c60f014f708282762168a8ba093e0 (diff) | |
download | coreclr-9bd2787a9dd2aa4d2b7d4f72afebc3dbe896e896.tar.gz coreclr-9bd2787a9dd2aa4d2b7d4f72afebc3dbe896e896.tar.bz2 coreclr-9bd2787a9dd2aa4d2b7d4f72afebc3dbe896e896.zip |
Fix eventpipe filtering (#25221)
* Add DOTNET_TRACE_CONTEXT and change macros to use DOTNET_TRACE_CONTEXT instead of MCGEN_TRACE_CONTEXT
* Fixing macro definitions
* eventing codegen scripts now generates EventPipe trace contexts
* Fix macros to use the EVENTPIPE_TRACE_Context
* Fix linux build
* Fix windows build
* Update Eventpipe provider context at EtwCallbackComon
* break in switch
* Update rundown provider context manually
* PR feedback
* Eventpipe->EventPipe
* cleanup in codegen script
Diffstat (limited to 'src/vm/nativeoverlapped.cpp')
-rw-r--r-- | src/vm/nativeoverlapped.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/nativeoverlapped.cpp b/src/vm/nativeoverlapped.cpp index a01f71ebb2..55be72453c 100644 --- a/src/vm/nativeoverlapped.cpp +++ b/src/vm/nativeoverlapped.cpp @@ -79,7 +79,7 @@ FCIMPL3(void, CheckVMForIOPacket, LPOVERLAPPED* lpOverlapped, DWORD* errorCode, } // if this will be "dispatched" to the managed callback fire the IODequeue event: - if (*lpOverlapped != NULL && ETW_EVENT_ENABLED(MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_Context, ThreadPoolIODequeue)) + if (*lpOverlapped != NULL && ETW_EVENT_ENABLED(MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_DOTNET_Context, ThreadPoolIODequeue)) FireEtwThreadPoolIODequeue(*lpOverlapped, OverlappedDataObject::GetOverlapped(*lpOverlapped), GetClrInstanceId()); #else // !FEATURE_PAL @@ -144,7 +144,7 @@ FCIMPL1(LPOVERLAPPED, AllocateNativeOverlapped, OverlappedDataObject* overlapped HELPER_METHOD_FRAME_END(); LOG((LF_INTEROP, LL_INFO10000, "In AllocNativeOperlapped thread 0x%x\n", GetThread())); - if (ETW_EVENT_ENABLED(MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_Context, ThreadPoolIODequeue)) + if (ETW_EVENT_ENABLED(MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_DOTNET_Context, ThreadPoolIODequeue)) FireEtwThreadPoolIOPack(lpOverlapped, overlappedUNSAFE, GetClrInstanceId()); return lpOverlapped; |