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:
parent
4e28cfe970
commit
c72fb37425
@ -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
4721
src/cmd/prof/gopprof
Executable file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user