From 0f4b7ce8c762fa5934dafc8c7439623cb1fc1332 Mon Sep 17 00:00:00 2001 From: aarzilli Date: Wed, 23 Mar 2016 09:16:48 +0100 Subject: [PATCH] proc: add runtime.mcall to top of stack function --- proc/stack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/stack.go b/proc/stack.go index 90044823..aa4e6585 100644 --- a/proc/stack.go +++ b/proc/stack.go @@ -135,7 +135,7 @@ func (it *stackIterator) Next() bool { return true } // Look for "top of stack" functions. - if it.frame.Current.Fn.Name == "runtime.goexit" || it.frame.Current.Fn.Name == "runtime.rt0_go" { + if it.frame.Current.Fn.Name == "runtime.goexit" || it.frame.Current.Fn.Name == "runtime.rt0_go" || it.frame.Current.Fn.Name == "runtime.mcall" { it.atend = true return true }