From: Alberto Donizetti Date: Tue, 21 Feb 2017 13:20:58 +0000 (+0100) Subject: cmd/trace: document that trace viewer is only tested on chromium X-Git-Tag: go1.9beta1~596 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=865b50c982a2c8b2a790772c6777a53c3f268bab;p=gostls13.git 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 --- 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 (