void Thread::trace_stack(Stream* st) { #if ENABLE_STACK_TRACE #if ENABLE_ISOLATES TaskContext maybeSwitchTask(task_id()); st->print_cr("task ID 0x%lx ", task_id()); #endif Frame fr(this); trace_stack_from(&fr, st); #endif }
void DeltaProcess::trace_stack() { trace_stack_from(last_delta_vframe()); }