summaryrefslogtreecommitdiff
path: root/src/vm/eepolicy.cpp
diff options
context:
space:
mode:
authorSung Yoon Whang <suwhang@microsoft.com>2019-06-20 16:33:51 -0700
committerGitHub <noreply@github.com>2019-06-20 16:33:51 -0700
commit9bd2787a9dd2aa4d2b7d4f72afebc3dbe896e896 (patch)
tree712b8829d3aa9d9d9ac936c8f4b914503bdcdae7 /src/vm/eepolicy.cpp
parent05a557349f6c60f014f708282762168a8ba093e0 (diff)
downloadcoreclr-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/eepolicy.cpp')
-rw-r--r--src/vm/eepolicy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/eepolicy.cpp b/src/vm/eepolicy.cpp
index b4d6e1beae..99677e3cec 100644
--- a/src/vm/eepolicy.cpp
+++ b/src/vm/eepolicy.cpp
@@ -878,7 +878,7 @@ void EEPolicy::LogFatalError(UINT exitCode, UINT_PTR address, LPCWSTR pszMessage
// Log exception to StdErr
LogInfoForFatalError(exitCode, pszMessage, errorSource, argExceptionString);
- if(ETW_EVENT_ENABLED(MICROSOFT_WINDOWS_DOTNETRUNTIME_PRIVATE_PROVIDER_Context, FailFast))
+ if(ETW_EVENT_ENABLED(MICROSOFT_WINDOWS_DOTNETRUNTIME_PRIVATE_PROVIDER_DOTNET_Context, FailFast))
{
// Fire an ETW FailFast event
FireEtwFailFast(pszMessage,
@@ -1058,7 +1058,7 @@ void DECLSPEC_NORETURN EEPolicy::HandleFatalStackOverflow(EXCEPTION_POINTERS *pE
DisplayStackOverflowException();
- if(ETW_EVENT_ENABLED(MICROSOFT_WINDOWS_DOTNETRUNTIME_PRIVATE_PROVIDER_Context, FailFast))
+ if(ETW_EVENT_ENABLED(MICROSOFT_WINDOWS_DOTNETRUNTIME_PRIVATE_PROVIDER_DOTNET_Context, FailFast))
{
// Fire an ETW FailFast event
FireEtwFailFast(W("StackOverflowException"),