Import pprof from google-perftools, svn r91.

Fix divide-by-zero error in pprof.  It is possible for sample contexts
to currently have no associated objects, but the cumulative statistics
are still useful, depending on how the user invokes pprof.  Since
jemalloc intentionally does not filter such contexts, take care not to
divide by 0 when re-scaling for v2 heap sampling.

Install pprof as part of 'make install'.

Update pprof documentation.
This commit is contained in:
Jason Evans
2010-04-02 13:50:53 -07:00
parent 18ad8234b6
commit a91f210929
4 changed files with 4358 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,4 @@
/jemalloc/autom4te.cache/
/jemalloc/bin/
/jemalloc/cfghdrs.stamp
/jemalloc/cfgoutputs.stamp
/jemalloc/config.log