ReadTrace returns the next chunk of binary tracing data, blocking until data is available. If tracing is turned off and all the data accumulated while it was on has been returned, ReadTrace returns nil. The caller must copy the returned data before calling ReadTrace again. ReadTrace must be called from one goroutine at a time.
ReadTrace is referenced in 16 repositoriesgithub.com/golang/go github.com/cloudflare/go github.com/deferpanic/gorump