]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: add option to output pprof files
authorFilippo Valsorda <hi@filippo.io>
Tue, 24 May 2016 11:50:38 +0000 (12:50 +0100)
committerRuss Cox <rsc@golang.org>
Wed, 12 Oct 2016 01:36:22 +0000 (01:36 +0000)
commitf64c67018103c200c9e150ac5f1199a3175f54a6
treeec10891fddab609272bba8313353fc3ea8e4a631
parent7f6eadb64fb16e73b15630dd3089edc568d047cb
cmd/trace: add option to output pprof files

The trace tool can generate some interesting profiles, but it was only
exposing them as svg through the web UI.  This adds command line options
to generate the raw pprof file.

Change-Id: I52e4f909fdca6f65c3616add444e3892783640f4
Reviewed-on: https://go-review.googlesource.com/23324
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/trace/main.go
src/cmd/trace/pprof.go