1
0
mirror of https://github.com/golang/go synced 2024-11-05 15:46:11 -07:00
go/misc
Dmitry Vyukov edadffa2f3 cmd/trace: add new command
Trace command allows to visualize and analyze traces.
Run as:
$ go tool trace binary trace.file
The commands opens web browser with the main page,
which contains links for trace visualization,
blocking profiler, network IO profiler and per-goroutine
traces.

Also move trace parser from runtime/pprof/trace_parser_test.go
to internal/trace/parser.go, so that it can be shared between
tests and the command.

Change-Id: Ic97ed59ad6e4c7e1dc9eca5e979701a2b4aed7cf
Reviewed-on: https://go-review.googlesource.com/3601
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-02-20 18:31:25 +00:00
..
android misc/android: choose the right subdirectory for bin under GOPATH. 2015-01-16 22:02:52 +00:00
arm arm: add gdb support to android launcher script 2010-07-30 10:35:07 +03:00
cgo all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
chrome/gophertool misc/chrome/gophertool: update for the git/gerrit transition 2014-12-18 07:34:46 +00:00
git misc/git: add gofmt git pre-commit hook 2012-11-15 19:58:49 +01:00
ios misc/ios: add README and wrapper script to ease cross-compiling for darwin/arm 2015-02-06 05:50:10 +00:00
linkcheck misc/linkcheck: better redirect handling, use meaningful exit code 2013-10-25 17:31:02 +03:00
makerelease misc/makerelease: send file size when uploading 2015-01-20 04:09:23 +00:00
nacl undo CL 176900044 / 561398621ba7 2014-11-17 14:21:29 +11:00
swig misc/swig/stdio: fix broken nil pointer test 2015-01-07 23:24:23 +00:00
trace cmd/trace: add new command 2015-02-20 18:31:25 +00:00
benchcmp all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00
editors all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00