summaryrefslogtreecommitdiffstats
path: root/bin/jeprof.in
Commit message (Collapse)AuthorAgeFilesLines
* Filter out "void *newImpl" in prof output.Qi Wang2017-08-081-0/+1
|
* Filter out "newImpl" from profiling output.Qi Wang2017-07-281-0/+1
|
* Add jemalloc prefix to allocator functions pruned by jeprof.Jason Evans2017-05-311-13/+13
| | | | This resolves #507.
* issue-586: detect main executable even if PIE is activeAliaksey Kandratsenka2017-04-041-1/+12
| | | | | | | | | | Previous logic of detecting main program addresses is to assume that main executable is at least addressess. With PIE (active by default on Ubuntus) it doesn't work. In order to deal with that, we're attempting to find main executable mapping in /proc/[pid]/maps. And old logic is preserved too just in case.
* Pass retain and exclude parameters to /pprof/symbol.Jason Evans2016-01-301-0/+23
| | | | | | Pass the retain and exclude parameters to the /pprof/symbol pprof server endpoint so that the server has the opportunity to optimize which symbols it looks up and/or returns mappings for.
* Detect failed profile fetchesDave Watson2016-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | Summary: Currently an HTTP error response will still try to be parsed, resulting in these messages: substr outside of string at /home/davejwatson/local/jemalloc-github/bin/jeprof line 3635, <PROFILE> line 1. Use of uninitialized value in string eq at /home/davejwatson/local/jemalloc-github/bin/jeprof line 3635, <PROFILE> line 1. substr outside of string at /home/davejwatson/local/jemalloc-github/bin/jeprof line 3637, <PROFILE> line 1. Use of uninitialized value in string eq at /home/davejwatson/local/jemalloc-github/bin/jeprof line 3637, <PROFILE> line 1. /home/davejwatson/jeprof/server.1452638936.localhost.pprof.heap: header size >= 2**16 After this fix, curl will return an error status code that will be correctly checked at line 3536, resulting in this error message: Failed to get profile: curl -s --fail 'http://localhost:4010/pprof/heap' > /home/davejwatson/jeprof/.tmp.server.1452639085.localhost.pprof.heap: No such file or directory Test Plan: Tested with MALLOC_CONF="prof:false". Also tested fetching symbols. Didn't test redirects, but this should only affect http error codes >= 400
* Don't discard curl options if timeout is not defined.Dave Watson2016-01-121-1/+1
| | | | Merge of https://github.com/gperftools/gperftools/commit/5078abdb331e63d7a216994f186eb736861f8df7
* Implement --retain and --exclude in jeprof.Jason Evans2015-12-141-2/+48
| | | | | These options make it possible to filter symbolized backtrace frames using regular expressions.
* Integrate raw heap profile support into jeprof.Jason Evans2015-11-091-11/+43
|
* Rename pprof to jeprof.Jason Evans2015-05-011-0/+5510
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.