Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.NET Common Language Runtime MOF - .NET 3.5 SP1
[dynamic: ToInstance, Description(".NET Common Language Runtime"), Guid("{e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}"), locale("MS\0x409")]
class CLRTrace : EventTrace
{
};
[dynamic: ToInstance, Description("CLR StrongNameVerification"), Guid("{15447A14-B523-46ae-B75B-023F900B4393}"), DisplayName("CLR StrongNameVerification"), locale("MS\0x409")]
class CLRStrongNameVerification : CLRTrace
{
};
[dynamic: ToInstance, Description("StrongNameVerification Start/End"), EventType{1, 2}, EVentTypeName{"StrongNameVerificationStart", "StrongNameVerificationEnd"}, locale("MS\0x409")]
class StrongNameVerification : CLRStrongNameVerification
{
[WmiDataId(1), Description("VerificationFlags"), format("x"), read] uint32 VerificationFlags;
[WmiDataId(2), Description("ErrorCode"), format("x"), read] uint32 ErrorCode;
[WmiDataId(3), Description("FullyQualifiedAssemblyName"), StringTermination("NullTerminated"), Format("w"), read] string FullyQualifiedAssemblyName;
};
[dynamic: ToInstance, Description("CLR AuthenticodeVerification"), Guid("{B17304D9-5AFA-4da6-9F7B-5A4FA73129B6}"), DisplayName("CLR AuthenticodeVerification"), locale("MS\0x409")]
class CLRAuthenticodeVerification : CLRTrace
{
};
[dynamic: ToInstance, Description("AuthenticodeVerification Start/End"), EventType{1, 2}, EVentTypeName{"AuthenticodeVerificationStart", "AuthenticodeVerificationEnd"}, locale("MS\0x409")]
class AuthenticodeVerification : CLRAuthenticodeVerification
{
[WmiDataId(1), Description("VerificationFlags"), format("x"), read] uint32 VerificationFlags;
[WmiDataId(2), Description("ErrorCode"), format("x"), read] uint32 ErrorCode;
[WmiDataId(3), Description("ModulePath"), StringTermination("NullTerminated"), Format("w"), read] string ModulePath;
};
[dynamic: ToInstance, Description("CLR Loader"), Guid("{D00792DA-07B7-40f5-97EB-5D974E054740}"), DisplayName("CLR Loader"), locale("MS\0x409")]
class CLRLoader : CLRTrace
{
};
[dynamic: ToInstance, Description("Module Load/UnLoad"), EventType{33, 34, 35, 36}, EVentTypeName{"ModuleLoad", "ModuleUnload", "ModuleDCStart", "ModuleDCEnd"}, locale("MS\0x409")]
class ModuleLoadUnLoad : CLRLoader
{
[WmiDataId(1), Description("ModuleId"), format("x"), read] uint64 ModuleId;
[WmiDataId(2), Description("AssemblyId"), format("x"), read] uint64 AssemblyId;
[WmiDataId(3), Description("ModuleFlags"), format("x"), read] uint64 ModuleFlags;
[WmiDataId(4), Description("ModuleILPath"), StringTermination("NullTerminated"), Format("w"), read] string ModuleILPath;
[WmiDataId(5), Description("ModuleNativePath"), StringTermination("NullTerminated"), Format("w"), read] string ModuleNativePath;
};
[dynamic: ToInstance, Description("CLR Method"), Guid("{3044F61A-99B0-4c21-B203-D39423C73B00}"), DisplayName("CLR Method"), locale("MS\0x409")]
class CLRMethod : CLRTrace
{
};
[dynamic: ToInstance, Description("Method Load/UnLoad Info"), EventType{33, 34, 35, 36}, EventTypeName{"MethodLoad", "MethodUnload", "MethodDCStart", "MethodDCEnd"}, locale("MS\0x409")]
class MethodLoadUnLoad : CLRMethod
{
[WmiDataId(1), Description("MethodIdentifier"), read] uint64 MethodIdentifier;
[WmiDataId(2), Description("ModuleID"), read] uint64 ModuleID;
[WmiDataId(3), Description("MethodStartAddress"), read] uint64 MethodStartAddress;
[WmiDataId(4), Description("MethodSize"), read] uint32 MethodSize;
[WmiDataId(5), Description("MethodToken"), read] uint32 MethodToken;
[WmiDataId(6), Description("MethodFlags"), read] uint32 MethodFlags;
};
[dynamic: ToInstance,
Description("Method Load/UnLoad Verbose Info"),
EventType{37, 38, 39, 40},
EventTypeName{"MethodLoadVerbose", "MethodUnloadVerbose", "MethodDCStartVerbose", "MethodDCEndVerbose"},
locale("MS\0x409")
]
class MethodLoadUnLoadVerbose : CLRMethod
{
[WmiDataId(1), Description("MethodIdentifier"), read] uint64 MethodIdentifier;
[WmiDataId(2), Description("ModuleID"), read] uint64 ModuleID;
[WmiDataId(3), Description("MethodStartAddress"), read] uint64 MethodStartAddress;
[WmiDataId(4), Description("MethodSize"), read] uint32 MethodSize;
[WmiDataId(5), Description("MethodToken"), read] uint32 MethodToken;
[WmiDataId(6), Description("MethodFlags"), read] uint32 MethodFlags;
[WmiDataId(7), Description("MethodNameSpace"), StringTermination("NullTerminated"), Format("w"), read] string MethodNameSpace;
[WmiDataId(8), Description("MethodName"), StringTermination("NullTerminated"), Format("w"), read] string Methodname;
[WmiDataId(9), Description("MethodSig"), StringTermination("NullTerminated"), Format("w"), read] string MethodSig;
};
[dynamic: ToInstance, Description("Rundown Complete Info"), EventType{14, 15}, EventTypeName{"DCStartComplete", "DCEndComplete"}, locale("MS\0x409")]
class RundownComplete : CLRMethod
{
};
[dynamic: ToInstance, Description("Garbage Collection"), Guid("{044973cd-251f-4dff-a3e9-9d6307286b05}"), DisplayName("CLR GC"), locale("MS\0x409")]
class GarbageCollection : CLRTrace
{
};
[dynamic: ToInstance, Description("Start GC Collection"), EventType(1), EventTypeName("GCStart"), locale("MS\0x409")]
class GCStart : GarbageCollection
{
[WmiDataId(1), Description("Count"), read] uint32 Count;
[WmiDataId(2), Description("Type"), read] uint32 Type;
};
[dynamic: ToInstance, Description("GCFinalizersEnd"), EventType(15), EventTypeName("GCFinalizers End")]
class GCFinalizersEnd : GarbageCollection
{
[WmiDataId(1), Description("Count"), read] uint32 Count;
};
[dynamic: ToInstance, Description("GCRestartEEEnd"), EventType(4), EventTypeName("GCRestartEE End")]
class GCRestartEEEnd : GarbageCollection
{
};
[dynamic: ToInstance, Description("GCRestartEEBegin"), EventType(8), EventTypeName("RestartEE Begin"), locale("MS\0x409")]
class RestartEEBegin : GarbageCollection
{
};
[dynamic: ToInstance, Description("GC Heap Statistics"), EventType(5), EventTypeName("GCHeapStats"), locale("MS\0x409")]
class HeapStats : GarbageCollection
{
[WmiDataId(1), Description("GenerationSize0"), read] uint64 GenerationSize0;
[WmiDataId(2), Description("TotalPromotedSize0"), read] uint64 TotalPromotedSize0;
[WmiDataId(3), Description("GenerationSize1"), read] uint64 GenerationSize1;
[WmiDataId(4), Description("TotalPromotedSize1"), read] uint64 TotalPromotedSize1;
[WmiDataId(5), Description("GenerationSize2"), read] uint64 GenerationSize2;
[WmiDataId(6), Description("TotalPromotedSize2"), read] uint64 TotalPromotedSize2;
[WmiDataId(7), Description("GenerationSize3"), read] uint64 GenerationSize3;
[WmiDataId(8), Description("TotalPromotedSize3"), read] uint64 TotalPromotedSize3;
[WmiDataId(9), Description("FinalizationPromotedSize"), read] uint64 FinalizationPromotedSize;
[WmiDataId(10), Description("FinalizationPromotedCount"), read] uint64 FinalizationPromotedCount;
[WmiDataId(11), Description("PinnedObjectCount"), read] uint32 PinnedObjectCount;
[WmiDataId(12), Description("SinkBlockCount"), read] uint32 SinkBlockCount;
[WmiDataId(13), Description("GCHandleCount"), read] uint32 GCHandleCount;
};
[dynamic: ToInstance, Description("GCFinalizersBegin"), EventType(19), EventTypeName("GCFinalizers Begin")]
class GCFinalizersBegin : GarbageCollection
{
};
[dynamic: ToInstance, Description("End GC Collection"), EventType(2), EventTypeName("GCEnd"), locale("MS\0x409")]
class GCEnd : GarbageCollection
{
[WmiDataId(1), Description("Count"), read] uint32 Count;
[WmiDataId(2), Description("Depth"), read] uint32 Depth;
};
[dynamic: ToInstance, Description("Allocation Tick"), EventType(11), EventTypeName("AllocationTick"), locale("MS\0x409")]
class AllocationTick : GarbageCollection
{
[WmiDataId(1), Description("Allocation Amount"), read] uint32 Allocation;
[WmiDataId(2), Description("Allocation Kind"), read] uint32 AllocationKind;
};
[dynamic: ToInstance, Description("Segment allocation"), EventType(6), EventTypeName("CreateSegment"), locale("MS\0x409")]
class AllocateSegment : GarbageCollection
{
[WmiDataId(1), Description("SegAddress"), format("x"), read] uint64 Address;
[WmiDataId(2), Description("SegSize"), format("x"), read] uint64 Size;
[WmiDataId(3), Description("SegType"), format("x"), read] uint32 Type;
};
[dynamic: ToInstance, Description("Suspend EE"), EventType(10), EventTypeName("SuspendEE Begin"), locale("MS\0x409")]
class SuspendEEBegin : GarbageCollection
{
[WmiDataId(1), Description("Suspension Reason"), read] uint32 Reason;
[WmiDataId(2), Description("GC Count"), read] uint32 GcCount;
};
[dynamic: ToInstance, Description("GCSuspendEEEnd"), EventType(9), EventTypeName("GCSuspendEE End")]
class GCSuspendEEEnd : GarbageCollection
{
};
[dynamic: ToInstance, Description("Segment free"), EventType(7), EventTypeName("FreeSegment"), locale("MS\0x409")]
class FreeSegment : GarbageCollection
{
[WmiDataId(1), Description("SegAddress"), format("x"), read] uint64 Address;
};
[dynamic: ToInstance, Description("CLR Worker Thread Creation"), Guid("{cfc4ba53-fb42-4757-8b70-5f5d51fee2f4}"), DisplayName("CLR Worker Thread Creation"), locale("MS\0x409")]
class WorkerThreadCreation : CLRTrace
{
};
[dynamic: ToInstance, Description("Create worker thread"), EventType(1), EventTypeName("CreateWorkerThread"), locale("MS\0x409")]
class CreateWorkerThread : WorkerThreadCreation
{
[WmiDataId(1), Description("WorkerThreadCount"), read] uint32 WorkerThreadCount;
[WmiDataId(2), Description("RetiredWorkerThreads"), read] uint32 RetiredWorkers;
};
[dynamic: ToInstance, Description("Terminate worker thread"), EventType(2), EventTypeName("TerminateWorkerThread"), locale("MS\0x409")]
class TerminateWorkerThread : WorkerThreadCreation
{
[WmiDataId(1), Description("WorkerThreadCount"), read] uint32 WorkerThreadCount;
[WmiDataId(2), Description("RetiredWorkerThreads"), read] uint32 RetiredWorkers;
};
[dynamic: ToInstance, Description("CLR IO Thread Creation"), Guid("{c71408de-42cc-4f81-9c93-b8912abf2a0f}"), DisplayName("CLR IO Thread Creation"), locale("MS\0x409")]
class IOThreadCreation : CLRTrace
{
};
[dynamic: ToInstance, Description("Create IO thread"), EventType(1), EventTypeName("CreateIOThread"), locale("MS\0x409")]
class CreateIOThread : IOThreadCreation
{
[WmiDataId(1), Description("IOThreadCount"), read] uint32 IOThreadCount;
[WmiDataId(2), Description("RetiredIOThreads"), read] uint32 RetiredIOs;
};
[dynamic: ToInstance, Description("Terminate IO thread"), EventType(2), EventTypeName("TerminateIOThread"), locale("MS\0x409")]
class TerminateIOThread : IOThreadCreation
{
[WmiDataId(1), Description("IOThreadCount"), read] uint32 IOThreadCount;
[WmiDataId(2), Description("RetiredIOThreads"), read] uint32 RetiredIOs;
};
[dynamic: ToInstance, Description("CLR Worker Thread Retirement"), Guid("{efdf1eac-1d5d-4e84-893a-19b80f692176}"), DisplayName("CLR Worker Thread Retirement"), locale("MS\0x409")]
class WorkerThreadRetirement : CLRTrace
{
};
[dynamic: ToInstance, Description("Unretire worker thread"), EventType(2), EventTypeName("UnretireWorkerThread"), locale("MS\0x409")]
class UnretireWorkerThread : WorkerThreadRetirement
{
[WmiDataId(1), Description("WorkerThreadCount"), read] uint32 WorkerThreadCount;
[WmiDataId(2), Description("RetiredWorkerThreads"), read] uint32 RetiredWorkers;
};
[dynamic: ToInstance, Description("Retire worker thread"), EventType(1), EventTypeName("RetireWorkerThread"), locale("MS\0x409")]
class RetireWorkerThread : WorkerThreadRetirement
{
[WmiDataId(1), Description("WorkerThreadCount"), read] uint32 WorkerThreadCount;
[WmiDataId(2), Description("RetiredWorkerThreads"), read] uint32 RetiredWorkers;
};
[dynamic: ToInstance, Description("CLR IO Thread Retirement"), Guid("{840c8456-6457-4eb7-9cd0-d28f01c64f5e}"), DisplayName("CLR IO Thread Retirement"), locale("MS\0x409")]
class IOThreadRetirement : CLRTrace
{
};
[dynamic: ToInstance, Description("Unretire IO thread"), EventType(2), EventTypeName("UnretireIOThread"), locale("MS\0x409")]
class UnretireIOThread : IOThreadRetirement
{
[WmiDataId(1), Description("IOThreadCount"), read] uint32 IOThreadCount;
[WmiDataId(2), Description("RetiredIOThreads"), read] uint32 RetiredIOs;
};
[dynamic: ToInstance, Description("Retire IO thread"), EventType(1), EventTypeName("RetireIOThread"), locale("MS\0x409")]
class RetireIOThread : IOThreadRetirement
{
[WmiDataId(1), Description("IOThreadCount"), read] uint32 IOThreadCount;
[WmiDataId(2), Description("RetiredIOThreads"), read] uint32 RetiredIOs;
};
[dynamic: ToInstance, Description("CLR Threadpool suspension"), Guid("{c424b3e3-2ae0-416e-a039-410c5d8e5f14}"), DisplayName("CLR Threadpool suspension"), locale("MS\0x409")]
class ThreadpoolSuspend : CLRTrace
{
};
[dynamic: ToInstance, Description("Suspend thread processing"), EventType(1), EventTypeName("SuspendThread"), locale("MS\0x409")]
class SuspendThread : ThreadpoolSuspend
{
[WmiDataId(1), Description("ThreadID"), read] uint32 TID;
[WmiDataId(2), Description("CPU Utilization"), read] uint32 CPUUtil;
};
[dynamic: ToInstance, Description("Resume thread processing"), EventType(2), EventTypeName("ResumeThread"), locale("MS\0x409")]
class ResumeThread : ThreadpoolSuspend
{
[WmiDataId(1), Description("ThreadID"), read] uint32 TID;
[WmiDataId(2), Description("CPU Utilization"), read] uint32 CPUUtil;
};
[dynamic: ToInstance, Description("CLR Exception"), Guid("{300ce105-86d1-41f8-b9d2-83fcbff32d99}"), DisplayName("CLR Exception"), locale("MS\0x409")]
class Exceptions : CLRTrace
{
};
[dynamic: ToInstance, Description("Exception"), EventType(1), EventTypeName("Exception"), locale("MS\0x409")]
class ExceptionThrown : Exceptions
{
};
[dynamic: ToInstance, Description("CLR Monitor"), Guid("{561410f5-a138-4ab3-945e-516483cddfbc}"), DisplayName("CLR Monitor"), locale("MS\0x409")]
class Monitor : CLRTrace
{
};
[dynamic: ToInstance, Description("Contention"), EventType(1), EventTypeName("Contention"), locale("MS\0x409")]
class Contention : Monitor
{
};
[dynamic: ToInstance, Description("Fusion NGEN Binder"), Guid("{861f5339-19d6-4873-b350-7b03228bda7c}"), DisplayName("Fusion NGEN Binder"), locale("MS\0x409")]
class FusionNGENBinder : CLRTrace
{
};
[dynamic: ToInstance, Description("Ref/Def NGEN Reject Info"), EventType{3}, EVentTypeName{"RefDefNgenBindRejectInfo"}, locale("MS\0x409")]
class RefDefNgenBindRejectInfo : FusionNGENBinder
{
[WmiDataId(1),
Description("RejectReason"),
Values{"NGEN_BIND_NO_INDEX", "NGEN_BIND_SYSTEM_ASSEMBLY_NOT_AVAILABLE", "NGEN_BIND_NO_MATCH", "NGEN_BIND_REJECT_CONFIG_MASK", "NGEN_BIND_FAIL", "NGEN_BIND_INDEX_CORRUPTION", "NGEN_BIND_REJECT_TIMESTAMP", "NGEN_BIND_REJECT_NATIVEIMAGE_NOT_FOUND", "NGEN_BIND_REJECT_IL_SIG", "NGEN_BIND_REJECT_LOADER_EVAL_FAIL", "NGEN_BIND_MISSING_FOUND", "NGEN_BIND_REJECT_HOSTASM", "NGEN_BIND_REJECT_IL_NOT_FOUND", "NGEN_BIND_REJECT_APPBASE_NOT_FILE", "NGEN_BIND_BIND_DEPEND_REJECT_REF_DEF_MISMATCH", "NGEN_BIND_BIND_DEPEND_REJECT_NGEN_SIG", "NGEN_BIND_APPLY_EXTERNAL_RELOCS_FAILED", "NGEN_BIND_SYSTEM_ASSEMBLY_NATIVEIMAGE_NOT_AVAILABLE", "NGEN_BIND_ASSEMBLY_HAS_DIFFERENT_GRANT", "NGEN_BIND_ASSEMBLY_NOT_DOMAIN_NEUTRAL", "NGEN_BIND_NATIVEIMAGE_VERSION_MISMATCH"},
ValueMap{"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21"}
] uint32 RejectReason;
[WmiDataId(2), Description("RefModuleName"), StringTermination("NullTerminated"), Format("w"), read] string RefModuleName;
[WmiDataId(3), Description("DefModuleName"), StringTermination("NullTerminated"), Format("w"), read] string DefModuleName;
};
[dynamic: ToInstance, Description("NGEN Reject Info"), EventType{1}, EVentTypeName{"NgenBindRejectInfo"}, locale("MS\0x409")]
class NgenBindRejectInfo : FusionNGENBinder
{
[WmiDataId(1),
Description("RejectReason"),
Values{"NGEN_BIND_NO_INDEX", "NGEN_BIND_SYSTEM_ASSEMBLY_NOT_AVAILABLE", "NGEN_BIND_NO_MATCH", "NGEN_BIND_REJECT_CONFIG_MASK", "NGEN_BIND_FAIL", "NGEN_BIND_INDEX_CORRUPTION", "NGEN_BIND_REJECT_TIMESTAMP", "NGEN_BIND_REJECT_NATIVEIMAGE_NOT_FOUND", "NGEN_BIND_REJECT_IL_SIG", "NGEN_BIND_REJECT_LOADER_EVAL_FAIL", "NGEN_BIND_MISSING_FOUND", "NGEN_BIND_REJECT_HOSTASM", "NGEN_BIND_REJECT_IL_NOT_FOUND", "NGEN_BIND_REJECT_APPBASE_NOT_FILE", "NGEN_BIND_BIND_DEPEND_REJECT_REF_DEF_MISMATCH", "NGEN_BIND_BIND_DEPEND_REJECT_NGEN_SIG", "NGEN_BIND_APPLY_EXTERNAL_RELOCS_FAILED", "NGEN_BIND_SYSTEM_ASSEMBLY_NATIVEIMAGE_NOT_AVAILABLE", "NGEN_BIND_ASSEMBLY_HAS_DIFFERENT_GRANT", "NGEN_BIND_ASSEMBLY_NOT_DOMAIN_NEUTRAL", "NGEN_BIND_NATIVEIMAGE_VERSION_MISMATCH"},
ValueMap{"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21"}
] uint32 RejectReason;
};
[dynamic: ToInstance, Description("Module NGEN Reject Info"), EventType{2}, EVentTypeName{"ModuleNgenBindRejectInfo"}, locale("MS\0x409")]
class ModuleNgenBindRejectInfo : FusionNGENBinder
{
[WmiDataId(1),
Description("RejectReason"),
Values{"NGEN_BIND_NO_INDEX", "NGEN_BIND_SYSTEM_ASSEMBLY_NOT_AVAILABLE", "NGEN_BIND_NO_MATCH", "NGEN_BIND_REJECT_CONFIG_MASK", "NGEN_BIND_FAIL", "NGEN_BIND_INDEX_CORRUPTION", "NGEN_BIND_REJECT_TIMESTAMP", "NGEN_BIND_REJECT_NATIVEIMAGE_NOT_FOUND", "NGEN_BIND_REJECT_IL_SIG", "NGEN_BIND_REJECT_LOADER_EVAL_FAIL", "NGEN_BIND_MISSING_FOUND", "NGEN_BIND_REJECT_HOSTASM", "NGEN_BIND_REJECT_IL_NOT_FOUND", "NGEN_BIND_REJECT_APPBASE_NOT_FILE", "NGEN_BIND_BIND_DEPEND_REJECT_REF_DEF_MISMATCH", "NGEN_BIND_BIND_DEPEND_REJECT_NGEN_SIG", "NGEN_BIND_APPLY_EXTERNAL_RELOCS_FAILED", "NGEN_BIND_SYSTEM_ASSEMBLY_NATIVEIMAGE_NOT_AVAILABLE", "NGEN_BIND_ASSEMBLY_HAS_DIFFERENT_GRANT", "NGEN_BIND_ASSEMBLY_NOT_DOMAIN_NEUTRAL", "NGEN_BIND_NATIVEIMAGE_VERSION_MISMATCH"},
ValueMap{"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21"}
] uint32 RejectReason;
[WmiDataId(2), Description("ModuleNameOrFilePath"), StringTermination("NullTerminated"), Format("w"), read] string ModuleNameOrFilePath;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment