![]() The --contention-profiling flag enables block profiling by calling SetBlockProfileRate(). It, however does not call SetMutexProfileFraction which enables mutex profiling. Mutex profiling gives us information about lock contention whereas block profiling on the other hand gives us information on gorotuines being blocked on sync primitives. Updating the docs to "block profiling" in order to make it more accurate. Eventhough a block profile may reflect contention points on locks to some extent, it also talks about other sources where goroutines may be blocked. Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com> |
||
---|---|---|
.. | ||
options | ||
auth.go | ||
init_others.go | ||
init_windows_test.go | ||
init_windows.go | ||
OWNERS | ||
plugins_providerless.go | ||
plugins_providers.go | ||
plugins.go | ||
server_bootstrap_test.go | ||
server_linux.go | ||
server_others.go | ||
server_test.go | ||
server_unsupported.go | ||
server_windows.go | ||
server.go |