aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/trace
diff options
context:
space:
mode:
authorAlberto Donizetti <alb.donizetti@gmail.com>2017-02-21 14:20:58 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2017-04-20 16:44:55 +0000
commit865b50c982a2c8b2a790772c6777a53c3f268bab (patch)
treed3087beec385a31006cb4d6d0240357469064084 /src/cmd/trace
parent868bb5d2f28909fa88c7d467aac655d014e50893 (diff)
downloadgo-865b50c982a2c8b2a790772c6777a53c3f268bab.tar.xz
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>
Diffstat (limited to 'src/cmd/trace')
-rw-r--r--src/cmd/trace/doc.go5
-rw-r--r--src/cmd/trace/main.go5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/cmd/trace/doc.go b/src/cmd/trace/doc.go
index 79506ca9bb..ed1f930a7b 100644
--- a/src/cmd/trace/doc.go
+++ b/src/cmd/trace/doc.go
@@ -26,5 +26,10 @@ Supported profile types are:
Then, you can use the pprof tool to analyze the profile:
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
diff --git a/src/cmd/trace/main.go b/src/cmd/trace/main.go
index 6367874d70..8ea0ba0161 100644
--- a/src/cmd/trace/main.go
+++ b/src/cmd/trace/main.go
@@ -42,6 +42,11 @@ Supported profile types are:
Flags:
-http=addr: HTTP service address (e.g., ':6060')
-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 (