Commit 26ec05cd authored by Hana Kim's avatar Hana Kim Committed by Hyang-Ah Hana Kim

doc: update info about flame graphs in diagnostics.html

Use Brendan Gregg's FlameGraphs page link.
Mention the flame graph is available from the upstream pprof.

Change-Id: Ife1d5a5f4f93f20cd5952a09083f798b77d25a60
Reviewed-on: https://go-review.googlesource.com/83798Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 81c19cc0
...@@ -119,7 +119,7 @@ so it is recommended to collect only a single profile at a time. ...@@ -119,7 +119,7 @@ so it is recommended to collect only a single profile at a time.
<p> <p>
The Go tools provide text, graph, and <a href="http://valgrind.org/docs/manual/cl-manual.html">callgrind</a> The Go tools provide text, graph, and <a href="http://valgrind.org/docs/manual/cl-manual.html">callgrind</a>
visualization of the profile data via visualization of the profile data using
<code><a href="https://github.com/google/pprof/blob/master/doc/pprof.md">go tool pprof</a></code>. <code><a href="https://github.com/google/pprof/blob/master/doc/pprof.md">go tool pprof</a></code>.
Read <a href="https://blog.golang.org/profiling-go-programs">Profiling Go programs</a> Read <a href="https://blog.golang.org/profiling-go-programs">Profiling Go programs</a>
to see them in action. to see them in action.
...@@ -149,9 +149,11 @@ in the listing.</p> ...@@ -149,9 +149,11 @@ in the listing.</p>
</p> </p>
<p> <p>
Another way to visualize profile data is a <a href="https://github.com/uber/go-torch">flame graph</a>. Another way to visualize profile data is a <a href="http://www.brendangregg.com/flamegraphs.html">flame graph</a>.
Flame graphs allow you to move in a specific ancestry path, so you can zoom Flame graphs allow you to move in a specific ancestry path, so you can zoom
in/out specific sections of code more easily. in/out of specific sections of code.
The <a href="https://github.com/google/pprof">upstream pprof</a>
has support for flame graphs.
</p> </p>
<p> <p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment