On Mar 28, 2014, at 4:28 AM, Evgeniy Ivanov <[email protected]> wrote:
> I enable / disable profiling on the fly via prof_active. Each time I dump 
> results (prof_accum is true). Is there any way to reset statistics / stack 
> traces between?

It isn't possible to reset the heap profiling state within jemalloc, but there 
is an easy solution to what you're trying to do: dump a profile at the point 
where you would like to reset, and pass it to pprof using the --base option.  
This will cause pprof to subtract out everything that shows up in the base 
profile.

Jason

_______________________________________________
jemalloc-discuss mailing list
[email protected]
http://www.canonware.com/mailman/listinfo/jemalloc-discuss

Reply via email to