summaryrefslogtreecommitdiffstats
path: root/bin/pprof
Commit message (Collapse)AuthorAgeFilesLines
* Rename pprof to jeprof.Jason Evans2015-05-011-5508/+0
| | | | | | | | | | This rename avoids installation collisions with the upstream gperftools. Additionally, jemalloc's per thread heap profile functionality introduced an incompatible file format, so it's now worthwhile to clearly distinguish jemalloc's version of this script from the upstream version. This resolves #229.
* [pprof] Produce global profile unless thread-local profile requestedBert Maher2014-12-151-2/+3
| | | | | | | | | Currently pprof will print output for all threads if a single thread is not specified, but this doesn't play well with many output formats (e.g., any of the dot-based formats). Instead, default to printing just the overall profile when no specific thread is requested. This resolves #157.
* Add sdallocx() to list of functions to prune in pprof.Jason Evans2014-09-101-0/+1
|
* Fix threaded heap profile bug in pprof.Jason Evans2014-09-091-1/+1
| | | | | Fix ReadThreadedHeapProfile to pass the correct parameters to AdjustSamples.
* Support threaded heap profiles in pprofBert Maher2014-09-091-126/+251
| | | | | | | | | - Add a --thread N option to select profile for thread N (otherwise, all threads will be printed) - The $profile map now has a {threads} element that is a map from thread id to a profile that has the same format as the {profile} element - Refactor ReadHeapProfile into smaller components and use them to implement ReadThreadedHeapProfile
* Simplify backtracing.Jason Evans2014-04-231-0/+9
| | | | | | | | | | | Simplify backtracing to not ignore any frames, and compensate for this in pprof in order to increase flexibility with respect to function-based refactoring even in the presence of non-deterministic inlining. Modify pprof to blacklist all jemalloc allocation entry points including non-standard ones like mallocx(), and ignore all allocator-internal frames. Prior to this change, pprof excluded the specifically blacklisted functions from backtraces, but it left allocator-internal frames intact.
* Consistently use debug lib(s) if presentHarald Weppner2014-03-181-1/+7
| | | | | | Fixes a situation where nm uses the debug lib but addr2line does not, which completely messes up the symbol lookup.
* Enable profiling / leak detection in FreeBSDHarald Weppner2014-03-181-2/+20
| | | | | * Assumes procfs is mounted at /proc, cf. <http://www.freebsd.org/doc/en/articles/linux-users/procfs.html>
* Update pprof (from gperftools 2.0).Jason Evans2012-04-171-193/+648
|
* Move repo contents in jemalloc/ to top level.Jason Evans2011-04-011-0/+4893