Descriptioncmd/pprof: add Go implementation
Update issue 8798
This is a new implementation of pprof,
written in Go instead of in Perl.
It was written primarily by Raul Silvera and
is in use for profiling programs of all languages
inside Google.
The internal structure is a bit package-heavy,
but it matches the copy used inside Google, and
since it is in an internal directory, we can make
changes to it later if we need to.
The only "new" file here is src/cmd/pprof/pprof.go,
which stitches together the Google pprof and the
Go command libraries for object file access.
I am explicitly NOT interested in style or review
comments on the rest of the files
(that is, src/cmd/pprof/internal/...).
Those are intended to stay as close to the Google
copies as possible, like we did with the pprof Perl script.
Still to do:
- Basic tests.
- Real command documentation.
- Hook up disassemblers.
Patch Set 1 #Patch Set 2 : diff -r cd24f5ff3db869a41efbf3a83e9e3f55b61460b8 https://code.google.com/p/go/ #Patch Set 3 : diff -r cd24f5ff3db869a41efbf3a83e9e3f55b61460b8 https://code.google.com/p/go/ #
Total comments: 21
Patch Set 4 : diff -r 6e19c3e6b95c0efb627a5ab98187957c325b563a https://code.google.com/p/go/ #
Total comments: 1
Patch Set 5 : diff -r 6e19c3e6b95c0efb627a5ab98187957c325b563a https://code.google.com/p/go/ #Patch Set 6 : diff -r 2e467bc60e64def06419194f48fe0d6c8b56765d https://code.google.com/p/go/ #MessagesTotal messages: 15
|