/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformStackWalk.h
Capture a stack backtrace for a specific thread.
static uint32 CaptureThreadStackBackTrace ( uint64 ThreadId, uint64 * BackTrace, uint32 MaxDepth, void * Context )