mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
Fix ETWFireEvent macro to emit events correctly (#35737)
This commit is contained in:
1 parent
f007841a90
commit
f4a67dfe85
1 file changed
+1
-1
@@ -109,7 +109,7 @@ enum EtwThreadFlags
|
||||
#if defined(FEATURE_PERFTRACING)
|
||||
#define ETW_INLINE
|
||||
#define ETWOnStartup(StartEventName, EndEventName)
|
||||
#define ETWFireEvent(EventName)
|
||||
#define ETWFireEvent(EventName) FireEtw##EventName(GetClrInstanceId())
|
||||
|
||||
#define ETW_TRACING_INITIALIZED(RegHandle) (TRUE)
|
||||
#define ETW_EVENT_ENABLED(Context, EventDescriptor) (EventPipeHelper::IsEnabled(Context, EventDescriptor.Level, EventDescriptor.Keyword) || \
|
||||
|
||||
Reference in new issue
Block a user