summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgmarek <gmarek@google.com>2015-02-20 09:39:13 +0100
committergmarek <gmarek@google.com>2015-02-20 09:39:13 +0100
commita65c29ed5cd9092522b0b6e4791984e2dabe5bce (patch)
tree0f75c3e32870a34e684a446800315d8ea33540b1
parent4ee6432fbc1cadf071dc71634391b4ceacadc425 (diff)
apply comments
-rw-r--r--profiling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiling.md b/profiling.md
index 142ef11e..1e14b5c4 100644
--- a/profiling.md
+++ b/profiling.md
@@ -31,4 +31,4 @@ to get 30 sec. CPU profile.
## Contention profiling
-To enable contetion profiling you need to add line ```rt.SetBlockProfileRate(1)``` to ones added before (```rt``` stands for ```runtime``` in ```master.go```). This enables 'debug/pprof/block' subpage, which can be used as an input go to ```go tool pprof```.
+To enable contetion profiling you need to add line ```rt.SetBlockProfileRate(1)``` in addition to ```m.mux.HandleFunc(...)``` added before (```rt``` stands for ```runtime``` in ```master.go```). This enables 'debug/pprof/block' subpage, which can be used as an input to ```go tool pprof```.