From 187c3a65a6293e6b9821bf3da49430e5d7bf77f8 Mon Sep 17 00:00:00 2001 From: Mostyn Bramley-Moore Date: Sun, 17 Jun 2018 19:42:03 +0200 Subject: [PATCH] doc: update more stale pprof links Related to #25477. Change-Id: I11261c6055b446ceca1b3acc538ab00fec4b47ca Reviewed-on: https://go-review.googlesource.com/119321 Reviewed-by: Brad Fitzpatrick --- doc/diagnostics.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/diagnostics.html b/doc/diagnostics.html index 35aae156e8..0a7847744b 100644 --- a/doc/diagnostics.html +++ b/doc/diagnostics.html @@ -50,7 +50,7 @@ trace. Use tools in isolation to get more precise info. Profiling is useful for identifying expensive or frequently called sections of code. The Go runtime provides profiling data in the format expected by the -pprof visualization tool. +pprof visualization tool. The profiling data can be collected during testing via go test or endpoints made available from the net/http/pprof package. Users need to collect the profiling data and use pprof tools to filter @@ -127,7 +127,7 @@ so it is recommended to collect only a single profile at a time.

The Go tools provide text, graph, and callgrind visualization of the profile data using -go tool pprof. +go tool pprof. Read Profiling Go programs to see them in action.