1
0
mirror of https://github.com/golang/go synced 2024-11-25 05:57:57 -07:00

prof: install gopprof too

This is a modified version of the open source pprof
from code.google.com/p/google-perftools.
That version is likely to catch up to this one,
but it's still useful to ship our own copy since
we only need the one script from that project,
not all the C++ libraries.

R=r
CC=golang-dev
https://golang.org/cl/783041
This commit is contained in:
Russ Cox 2010-03-26 14:20:50 -07:00
parent 4e28cfe970
commit c72fb37425
2 changed files with 4725 additions and 1 deletions

View File

@ -22,7 +22,7 @@ $(TARG): $(OFILES)
clean:
rm -f *.$O $(TARG)
install: install-$(shell uname | tr A-Z a-z)
install: install-$(shell uname | tr A-Z a-z) install-pprof
install-linux: install-default
install-freebsd: install-default
@ -34,3 +34,6 @@ install-default: $(TARG)
cp $(TARG) "$(GOBIN)"/$(TARG)
$(OFILES): $(HFILES)
install-pprof: gopprof
cp $(TARG) "$(GOBIN)"/gopprof

4721
src/cmd/prof/gopprof Executable file

File diff suppressed because it is too large Load Diff