diff --git a/src/cmd/trace/doc.go b/src/cmd/trace/doc.go index 79506ca9bb9..ed1f930a7bb 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 6367874d705..8ea0ba01615 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 (