Interop ETW Events

.NET Framework (current version)
 

Interop events capture information about Microsoft intermediate language (MSIL) stub generation and caching.

This category consists of the following events:

The following table shows the keyword and level. (For more information, see CLR ETW Keywords and Levels.)

Keyword for raising the eventLevel
InteropKeyword (0x2000)Informational(4)

The following table shows the event information.

EventEvent IDRaised when
ILStubGenerated88The MSIL stub has been generated.

The following table shows the event data.

Field nameData typeDescription
ModuleIDwin:UInt16The module identifier.
StubMethodIDwin:UInt64The stub method identifier.
StubFlagswin:UInt64The flags for the stub:

0x1 - Reverse interop.

0x2 - COM interop.

0x4 - Stub generated by NGen.exe.

0x8 - Delegate.

0x10 - Variable arrgument.

0x20 - Unmanaged callee.
ManagedInteropMethodTokenwin:UInt32The token for the managed interop method.
ManagedInteropMethodNameSpacewin:UnicodeStringThe namespace of the managed interop method.
ManagedInteropMethodNamewin:UnicodeStringThe name of the managed interop method.
ManagedInteropMethodSignaturewin:UnicodeStringThe signature of the managed interop method.
NativeMethodSignaturewin:UnicodeStringThe native method signature.
StubMethodSignaturewin:UnicodeStringThe stub method signature.
StubMethodILCodewin:UnicodeStringThe MSIL code for the stub method.
ClrInstanceIDwin:UInt16Unique ID for the instance of CLR or CoreCLR.

Back to top

The following table shows the keyword and level.

Keyword for raising the eventLevel
InteropKeyword (0x2000)Informational(4)

The following table shows the event information.

EventEvent IDRaised when
ILStubCacheHit89The MSIL cache has been accessed.

The following table shows the event data.

Field nameData typeDescription
ModuleIDwin:UInt16The module identifier.
StubMethodIDwin:UInt64The stub method identifier.
ManagedInteropMethodTokenwin:UInt32The token for the managed interop method.
ManagedInteropMethodNameSpacewin:UnicodeStringThe namespace of the managed interop method.
ManagedInteropMethodNamewin:UnicodeStringThe name of the managed interop method.
ManagedInteropMethodSignaturewin:UnicodeStringThe signature of the managed interop method.
ClrInstanceIDwin:UInt16Unique ID for the instance of CLR or CoreCLR.

Back to top

CLR ETW Events

Show: