wzprof
wzprof copied to clipboard
Use runtime.GoroutineProfile to link Guest and Host frames
Right now we only profile the guest execution but to have a complete view, it would be interesting to link with the execution of the host-functions in the host itself. The Go runtime provides an API runtime.GoroutineProfile to retrieve stack traces. Can we leverage this API to record the host activity and walk through the guest?