Testing and Tracing allows us to see mutex profiles.
We can get mutex profiles by running a test.
go test -mutexprofile mutex.out
go tool pprof mutex.test mutex.out
list TestMutexProfile
Mutex profile - Burcu Dogan
All material is licensed under the Apache License Version 2.0, January 2004.