mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/trace: document that trace viewer is only tested on chromium
Fixes #19207 Change-Id: I69b70492fd01599a13c1a3beb87f492de40a18b0 Reviewed-on: https://go-review.googlesource.com/37312 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
868bb5d2f2
commit
865b50c982
2 changed files with 10 additions and 0 deletions
|
|
@ -26,5 +26,10 @@ Supported profile types are:
|
||||||
|
|
||||||
Then, you can use the pprof tool to analyze the profile:
|
Then, you can use the pprof tool to analyze the profile:
|
||||||
go tool pprof TYPE.pprof
|
go tool pprof TYPE.pprof
|
||||||
|
|
||||||
|
Note that while the various profiles available when launching
|
||||||
|
'go tool trace' work on every browser, the trace viewer itself
|
||||||
|
(the 'view trace' page) comes from the Chrome/Chromium project
|
||||||
|
and is only actively tested on that browser.
|
||||||
*/
|
*/
|
||||||
package main
|
package main
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,11 @@ Supported profile types are:
|
||||||
Flags:
|
Flags:
|
||||||
-http=addr: HTTP service address (e.g., ':6060')
|
-http=addr: HTTP service address (e.g., ':6060')
|
||||||
-pprof=type: print a pprof-like profile instead
|
-pprof=type: print a pprof-like profile instead
|
||||||
|
|
||||||
|
Note that while the various profiles available when launching
|
||||||
|
'go tool trace' work on every browser, the trace viewer itself
|
||||||
|
(the 'view trace' page) comes from the Chrome/Chromium project
|
||||||
|
and is only actively tested on that browser.
|
||||||
`
|
`
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue