Skip to content

Commit

Permalink
prof: install gopprof too
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rsc committed Mar 26, 2010
1 parent 4e28cfe commit c72fb37
Show file tree
Hide file tree
Showing 2 changed files with 4,725 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cmd/prof/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -34,3 +34,6 @@ install-default: $(TARG)
cp $(TARG) "$(GOBIN)"/$(TARG)

$(OFILES): $(HFILES)

install-pprof: gopprof
cp $(TARG) "$(GOBIN)"/gopprof
Loading

0 comments on commit c72fb37

Please sign in to comment.