On Wed, Mar 4, 2020 at 6:44 PM Xiangdong JI <xiangdong...@arm.com> wrote:
>
> Given the attached screenshot of pprof output, I wonder how to figure out the 
> callers of 'runtime.mcall' and their cost? Thanks.

You can't, but it doesn't matter.  The mcall function is used when a
thread changes from executing one goroutine to a different goroutine.
Knowing the code that triggers the call into mcall won't tell you
anything.  It's just where that goroutine happened to be preempted.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcU8dz-VpQP7y4r%3D1sho_bLuLdMtfZbckyx7uFyEueDZ_g%40mail.gmail.com.

Reply via email to