1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
7 namespace Mono.Profiler.Log {
9 // mono/profiler/log.h : TYPE_*
23 AllocationNoBacktrace = 0 << 4,
24 AllocationBacktrace = 1 << 4,
29 GCHandleCreationNoBacktrace = 4 << 4,
30 GCHandleDeletionNoBacktrace = 5 << 4,
31 GCHandleCreationBacktrace = 6 << 4,
32 GCHandleDeletionBacktrace = 7 << 4,
33 GCFinalizeBegin = 8 << 4,
34 GCFinalizeEnd = 9 << 4,
35 GCFinalizeObjectBegin = 10 << 4,
36 GCFinalizeObjectEnd = 11 << 4,
38 MetadataExtra = 0 << 4,
39 MetadataEndLoad = 2 << 4,
40 MetadataEndUnload = 4 << 4,
44 MethodLeaveExceptional = 3 << 4,
47 ExceptionThrowNoBacktrace = 0 << 7,
48 ExceptionThrowBacktrace = 1 << 7,
49 ExceptionClause = 1 << 4,
51 MonitorNoBacktrace = 0 << 7,
52 MonitorBacktrace = 1 << 7,
60 SampleUnmanagedSymbol = 1 << 4,
61 SampleUnmanagedBinary = 2 << 4,
62 SampleCounterDescriptions = 3 << 4,
63 SampleCounters = 4 << 4,
65 RuntimeJitHelper = 1 << 4,
67 CoverageAssembly = 0 << 4,
68 CoverageMethod = 1 << 4,
69 CoverageStatement = 2 << 4,
70 CoverageClass = 3 << 4,
72 MetaSynchronizationPoint = 0 << 4,
75 // mono/profiler/log.h : TYPE_*
76 enum LogMetadataType {
85 // mono/utils/mono-counters.h : MONO_COUNTER_*
86 public enum LogCounterType {
97 // mono/utils/mono-counters.h : MONO_COUNTER_*
98 public enum LogCounterSection {
110 // mono/utils/mono-counters.h : MONO_COUNTER_*
111 public enum LogCounterUnit {
116 Percentage = 4 << 24,
119 // mono/utils/mono-counters.h : MONO_COUNTER_*
120 public enum LogCounterVariance {
126 // mono/metadata/profiler.h : MonoProfilerCodeBufferType
127 public enum LogJitHelper {
130 MethodTrampoline = 2,
133 GenericsTrampoline = 5,
134 SpecificTrampoline = 6,
138 ExceptionHandling = 10,
141 // mono/profiler/log.h : SAMPLE_*
142 public enum LogSampleHitType {
151 // mono/metadata/profiler.h : MonoProfileGCRootType
153 public enum LogHeapRootAttributes {
155 WeakReference = 2 << 8,
167 // mono/metadata/profiler.h : MonoProfilerMonitorEvent
168 public enum LogMonitorEvent {
174 // mono/metadata/metadata.h : MonoExceptionEnum
175 public enum LogExceptionClause {
182 // mono/metadata/profiler.h : MonoGCEvent
183 public enum LogGCEvent {
194 PreStopWorldLocked = 10,
195 PostStartWorldUnlocked = 11,
198 // mono/sgen/gc-internal-agnostic.h : GCHandleType
199 public enum LogGCHandleType {
201 WeakTrackResurrection = 1,
206 // mono/profiler/log.h : MonoProfilerSyncPointType
207 public enum LogSynchronizationPoint {