Share via


COR_PRF_SNAPSHOT_INFO Enumeration

Specifies how much data to pass back with a stack snapshot in each call to the profiler's StackSnapshotCallback function.

typedef enum _COR_PRF_SNAPSHOT_INFO {
    COR_PRF_SNAPSHOT_DEFAULT = 0x0,
    COR_PRF_SNAPSHOT_REGISTER_CONTEXT = 0x1,
    COR_PRF_SNAPSHOT_X86_OPTIMIZED = 0X2
} COR_PRF_SNAPSHOT_INFO;

Members

Members

Description

COR_PRF_SNAPSHOT_DEFAULT

Indicates that values must be passed for all StackSnapshotCallback parameters, except the context parameter.

COR_PRF_SNAPSHOT_REGISTER_CONTEXT

Indicates that values must be passed for all StackSnapshotCallback parameters, including the context parameter.

COR_PRF_SNAPSHOT_X86_OPTIMIZED

Indicates that a simpler, alternative stack-walking algorithm will be used.

Remarks

Values that are provided by the COR_PRF_SNAPSHOT_INFO enumeration are passed as parameters to the DoStackSnapshot method.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorProfilerInfo2::DoStackSnapshot Method

Other Resources

Profiling Enumerations