...

Text file src/cmd/pprof/README

     1	This directory is the copy of Google's pprof shipped as part of the Go distribution.
     2	The bulk of the code is vendored from github.com/google/pprof and is in
     3	../vendor/github.com/google/pprof.
     4	
     5	Two important notes:
     6	
     7	1. Using github.com/google/pprof directly (for example, after installing
     8	with "go get") should work with Go programs, but we cannot guarantee that.
     9	What we test is that the "go tool pprof" shipped with each Go release works
    10	with programs from that release.
    11	
    12	2. Pprof is used inside Google for C++, Java, and Go programs.
    13	Because it was developed for that broader context, it is overgeneralized
    14	when used here for the specific use case of profiling standard Go programs.
    15	However, we've left the abstractions intact in order to share updates
    16	between our vendored copy and Google's internal one.
    17	Please do not take the level of abstraction in this program as an example
    18	to follow in your own.

View as plain text