Thank you very much, Jason! That's a relief.
On Fri, Mar 28, 2014 at 10:10 PM, Jason Evans <jas...@canonware.com> wrote: > On Mar 28, 2014, at 4:28 AM, Evgeniy Ivanov <i...@eivanov.com> 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 > > -- Cheers, Evgeniy
_______________________________________________ jemalloc-discuss mailing list jemalloc-discuss@canonware.com http://www.canonware.com/mailman/listinfo/jemalloc-discuss