@@ -218,7 +218,7 @@ Routine Description:
218
218
#endif
219
219
#endif // MCGEN_DISABLE_PROVIDER_CODE_GENERATION
220
220
//+
221
- // Provider Microsoft-Windows-DotNETRuntime Event Count 166
221
+ // Provider Microsoft-Windows-DotNETRuntime Event Count 167
222
222
//+
223
223
EXTERN_C __declspec(selectany ) const GUID MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER = {0xe13c0d23 , 0xccbc , 0x4e12 , {0x93 , 0x1b , 0xd9 , 0xcc , 0x2e , 0xee , 0x27 , 0xe4 }};
224
224
@@ -371,6 +371,8 @@ EXTERN_C __declspec(selectany) const GUID ThreadId = {0x641994c5, 0x16f2, 0x4123
371
371
EXTERN_C __declspec(selectany ) const GUID DebugIPCEventId = {0xec2f3703 , 0x8321 , 0x4301 , {0xbd , 0x51 , 0x2c , 0xb9 , 0xa0 , 0x9f , 0x31 , 0xb1 }};
372
372
#define CLR_EXCEPTION_PROCESSING_TASK 0x1a
373
373
EXTERN_C __declspec(selectany ) const GUID DebugExceptionProcessingId = {0xc4412198 , 0xef03 , 0x47f1 , {0x9b , 0xd1 , 0x11 , 0xc6 , 0x63 , 0x7a , 0x20 , 0x62 }};
374
+ #define CLR_CODE_SYMBOLS_TASK 0x1e
375
+ EXTERN_C __declspec(selectany ) const GUID CodeSymbolsId = {0x53aedf69 , 0x2049 , 0x4f7d , {0x93 , 0x45 , 0xd3 , 0x01 , 0x8b , 0x5c , 0x4d , 0x80 }};
374
376
//
375
377
// Keyword
376
378
//
@@ -403,6 +405,7 @@ EXTERN_C __declspec(selectany) const GUID DebugExceptionProcessingId = {0xc44121
403
405
#define CLR_THREADTRANSFER_KEYWORD 0x80000000
404
406
#define CLR_DEBUGGER_KEYWORD 0x100000000
405
407
#define CLR_MONITORING_KEYWORD 0x200000000
408
+ #define CLR_CODESYMBOLS_KEYWORD 0x400000000
406
409
407
410
//
408
411
// Event Descriptors
@@ -739,6 +742,8 @@ EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR DebugExceptionProcessingSt
739
742
#define DebugExceptionProcessingStart_value 0xf2
740
743
EXTERN_C __declspec(selectany ) const EVENT_DESCRIPTOR DebugExceptionProcessingEnd = {0xf3 , 0x0 , 0x0 , 0x4 , 0x2 , 0x1a , 0x100000000 };
741
744
#define DebugExceptionProcessingEnd_value 0xf3
745
+ EXTERN_C __declspec(selectany ) const EVENT_DESCRIPTOR CodeSymbols = {0x104 , 0x0 , 0x0 , 0x5 , 0x1 , 0x1e , 0x400000000 };
746
+ #define CodeSymbols_value 0x104
742
747
743
748
//
744
749
// Note on Generate Code from Manifest Windows Vista and above
@@ -768,9 +773,9 @@ EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR DebugExceptionProcessingEn
768
773
//
769
774
770
775
EXTERN_C __declspec(selectany ) DECLSPEC_CACHEALIGN ULONG Microsoft_Windows_DotNETRuntimeEnableBits [1 ];
771
- EXTERN_C __declspec(selectany ) const ULONGLONG Microsoft_Windows_DotNETRuntimeKeywords [31 ] = {0x1 , 0x1 , 0x10001 , 0x80000 , 0x100000 , 0x200000 , 0x400000 , 0x2 , 0x2000000 , 0x10000 , 0x10000 , 0x80010000 , 0x80010000 , 0x0 , 0x200008000 , 0x8000 , 0x4000 , 0x40000000 , 0x800 , 0x10800 , 0x2000 , 0x30 , 0x10 , 0x1000 , 0x20000 , 0x8 , 0x20000008 , 0x20000000 , 0x400 , 0x400 , 0x100000000 };
772
- EXTERN_C __declspec(selectany ) const UCHAR Microsoft_Windows_DotNETRuntimeLevels [31 ] = {4 , 5 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 5 , 5 , 4 , 4 , 2 , 4 , 4 , 0 , 4 , 4 , 4 , 4 , 5 , 5 , 5 , 4 , 4 , 4 , 5 , 4 , 4 };
773
- EXTERN_C __declspec(selectany ) MCGEN_TRACE_CONTEXT MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_Context = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 31 , Microsoft_Windows_DotNETRuntimeEnableBits , Microsoft_Windows_DotNETRuntimeKeywords , Microsoft_Windows_DotNETRuntimeLevels };
776
+ EXTERN_C __declspec(selectany ) const ULONGLONG Microsoft_Windows_DotNETRuntimeKeywords [32 ] = {0x1 , 0x1 , 0x10001 , 0x80000 , 0x100000 , 0x200000 , 0x400000 , 0x2 , 0x2000000 , 0x10000 , 0x10000 , 0x80010000 , 0x80010000 , 0x0 , 0x200008000 , 0x8000 , 0x4000 , 0x40000000 , 0x800 , 0x10800 , 0x2000 , 0x30 , 0x10 , 0x1000 , 0x20000 , 0x8 , 0x20000008 , 0x20000000 , 0x400 , 0x400 , 0x100000000 , 0x400000000 };
777
+ EXTERN_C __declspec(selectany ) const UCHAR Microsoft_Windows_DotNETRuntimeLevels [32 ] = {4 , 5 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 5 , 5 , 4 , 4 , 2 , 4 , 4 , 0 , 4 , 4 , 4 , 4 , 5 , 5 , 5 , 4 , 4 , 4 , 5 , 4 , 4 , 5 };
778
+ EXTERN_C __declspec(selectany ) MCGEN_TRACE_CONTEXT MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_Context = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 32 , Microsoft_Windows_DotNETRuntimeEnableBits , Microsoft_Windows_DotNETRuntimeKeywords , Microsoft_Windows_DotNETRuntimeLevels };
774
779
775
780
EXTERN_C __declspec(selectany ) REGHANDLE Microsoft_Windows_DotNETRuntimeHandle = (REGHANDLE )0 ;
776
781
@@ -3191,6 +3196,20 @@ Routine Description:
3191
3196
CoTemplateEventDescriptor(Microsoft_Windows_DotNETRuntimeHandle, &DebugExceptionProcessingEnd)\
3192
3197
: ERROR_SUCCESS\
3193
3198
3199
+ //
3200
+ // Enablement check macro for CodeSymbols
3201
+ //
3202
+
3203
+ #define EventEnabledCodeSymbols () ((Microsoft_Windows_DotNETRuntimeEnableBits[0] & 0x80000000) != 0)
3204
+
3205
+ //
3206
+ // Event Macro for CodeSymbols
3207
+ //
3208
+ #define FireEtwCodeSymbols (ModuleId , TotalChunks , ChunkNumber , ChunkLength , Chunk , ClrInstanceID )\
3209
+ EventEnabledCodeSymbols() ?\
3210
+ CoTemplate_xhhqbh(Microsoft_Windows_DotNETRuntimeHandle, &CodeSymbols, ModuleId, TotalChunks, ChunkNumber, ChunkLength, Chunk, ClrInstanceID)\
3211
+ : ERROR_SUCCESS\
3212
+
3194
3213
#endif // MCGEN_DISABLE_PROVIDER_CODE_GENERATION
3195
3214
3196
3215
//+
@@ -10909,6 +10928,54 @@ MCGEN_CALLOUT(RegHandle,
10909
10928
}
10910
10929
#endif
10911
10930
10931
+ //
10932
+ //Template from manifest : CodeSymbols
10933
+ //
10934
+ #ifndef CoTemplate_xhhqbh_def
10935
+ #define CoTemplate_xhhqbh_def
10936
+ ETW_INLINE
10937
+ ULONG
10938
+ CoTemplate_xhhqbh (
10939
+ _In_ REGHANDLE RegHandle ,
10940
+ _In_ PCEVENT_DESCRIPTOR Descriptor ,
10941
+ _In_ unsigned __int64 _Arg0 ,
10942
+ _In_ const unsigned short _Arg1 ,
10943
+ _In_ const unsigned short _Arg2 ,
10944
+ _In_ const unsigned int _Arg3 ,
10945
+ _In_reads_ (_Arg3 ) const BYTE * _Arg4 ,
10946
+ _In_ const unsigned short _Arg5
10947
+ )
10948
+ {
10949
+ #define ARGUMENT_COUNT_xhhqbh 6
10950
+ ULONG Error = ERROR_SUCCESS ;
10951
+
10952
+ EVENT_DATA_DESCRIPTOR EventData [ARGUMENT_COUNT_xhhqbh ];
10953
+
10954
+ EventDataDescCreate (& EventData [0 ], & _Arg0 , sizeof (unsigned __int64 ) );
10955
+
10956
+ EventDataDescCreate (& EventData [1 ], & _Arg1 , sizeof (const unsigned short ) );
10957
+
10958
+ EventDataDescCreate (& EventData [2 ], & _Arg2 , sizeof (const unsigned short ) );
10959
+
10960
+ EventDataDescCreate (& EventData [3 ], & _Arg3 , sizeof (const unsigned int ) );
10961
+
10962
+ EventDataDescCreate (& EventData [4 ], _Arg4 , (ULONG )sizeof (char )* _Arg3 );
10963
+
10964
+ EventDataDescCreate (& EventData [5 ], & _Arg5 , sizeof (const unsigned short ) );
10965
+
10966
+ Error = EventWrite (RegHandle , Descriptor , ARGUMENT_COUNT_xhhqbh , EventData );
10967
+
10968
+ #ifdef MCGEN_CALLOUT
10969
+ MCGEN_CALLOUT (RegHandle ,
10970
+ Descriptor ,
10971
+ ARGUMENT_COUNT_xhhqbh ,
10972
+ EventData );
10973
+ #endif
10974
+
10975
+ return Error ;
10976
+ }
10977
+ #endif
10978
+
10912
10979
//
10913
10980
//Template from manifest : StressLog
10914
10981
//
@@ -12438,6 +12505,7 @@ MCGEN_CALLOUT(RegHandle,
12438
12505
#define MSG_RuntimePublisher_ThreadTransferKeywordMessage 0x10000020L
12439
12506
#define MSG_RuntimePublisher_DebuggerKeywordMessage 0x10000021L
12440
12507
#define MSG_RuntimePublisher_MonitoringKeywordMessage 0x10000022L
12508
+ #define MSG_RuntimePublisher_CodeSymbolsKeywordMessage 0x10000023L
12441
12509
#define MSG_RundownPublisher_LoaderKeywordMessage 0x11000004L
12442
12510
#define MSG_RundownPublisher_JitKeywordMessage 0x11000005L
12443
12511
#define MSG_RundownPublisher_NGenKeywordMessage 0x11000006L
@@ -12725,6 +12793,7 @@ MCGEN_CALLOUT(RegHandle,
12725
12793
#define MSG_RuntimePublisher_ExceptionCatchTaskMessage 0x7000001BL
12726
12794
#define MSG_RuntimePublisher_ExceptionFinallyTaskMessage 0x7000001CL
12727
12795
#define MSG_RuntimePublisher_ExceptionFilterTaskMessage 0x7000001DL
12796
+ #define MSG_RuntimePublisher_CodeSymbolsTaskMessage 0x7000001EL
12728
12797
#define MSG_RundownPublisher_MethodTaskMessage 0x71000001L
12729
12798
#define MSG_RundownPublisher_LoaderTaskMessage 0x71000002L
12730
12799
#define MSG_RundownPublisher_StackTaskMessage 0x7100000BL
@@ -12848,6 +12917,7 @@ MCGEN_CALLOUT(RegHandle,
12848
12917
#define MSG_RuntimePublisher_GCMarkWithTypeEventMessage 0xB00000CAL
12849
12918
#define MSG_RuntimePublisher_ExceptionExceptionHandlingEventMessage 0xB00000FAL
12850
12919
#define MSG_RuntimePublisher_ExceptionExceptionHandlingNoneEventMessage 0xB00000FBL
12920
+ #define MSG_RuntimePublisher_CodeSymbolsEventMessage 0xB0000104L
12851
12921
#define MSG_RuntimePublisher_GCStart_V1EventMessage 0xB0010001L
12852
12922
#define MSG_RuntimePublisher_GCEnd_V1EventMessage 0xB0010002L
12853
12923
#define MSG_RuntimePublisher_GCRestartEEEnd_V1EventMessage 0xB0010003L
0 commit comments