Export (0) Print
Expand All

Profiling Global Static Functions

This section describes the unmanaged API functions that the profiling API uses.

FunctionEnter Function

Notifies the profiler that control is being passed to a function. Deprecated in the .NET Framework 2.0.

FunctionEnter2 Function

Notifies the profiler that control is being passed to a function and provides information about the stack frame and function arguments.

FunctionIDMapper Function

Notifies the profiler that the given identifier of a function may be remapped to an alternative ID to be used in the enter2/leave2/tailcall2 callbacks for that function. This method also allows the profiler to indicate whether it wants to receive callbacks for that function.

FunctionLeave Function

Notifies the profiler that a function is about to return to the caller. Deprecated in the .NET Framework 2.0.

FunctionLeave2 Function

Notifies the profiler that a function is about to return to the caller and provides information about the stack frame and function return value.

FunctionTailcall Function

Notifies the profiler that the currently executing function is about to perform a tail call to another function. Deprecated in the .NET Framework 2.0.

FunctionTailcall2 Function

Notifies the profiler that the currently executing function is about to perform a tail call to another function and provides information about the stack frame.

StackSnapshotCallback Function

Provides the profiler with information on each managed frame and each run of unmanaged frames on the stack during a stack walk, which is initiated by the ICorProfilerInfo2::DoStackSnapshot method.

Community Additions

ADD
Show:
© 2014 Microsoft