From 865b50c982a2c8b2a790772c6777a53c3f268bab Mon Sep 17 00:00:00 2001 From: Alberto Donizetti Date: Tue, 21 Feb 2017 14:20:58 +0100 Subject: [PATCH] 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 --- src/cmd/trace/doc.go | 5 +++++ src/cmd/trace/main.go | 5 +++++ 2 files changed, 10 insertions(+) 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 ( -- 2.48.1