Relationship between opt.prof and opt.prof_leak

Jason Evans jasone at canonware.com
Fri Nov 6 13:57:19 PST 2015


On Nov 6, 2015, at 12:53 PM, Evan Jones <ejones at twitter.com> wrote:
> On Fri, Nov 6, 2015 at 3:45 PM, Jason Evans <jasone at canonware.com <mailto:jasone at canonware.com>> wrote:
> No, dumps are always based on the most recent stats reset (process start or "prof.reset" mallctl call).  You can view incremental differences between two dumps by using the --base option to jeprof.
> 
> Is this true if you use opt.lg_prof_interval? Then what is the point of the opt.prof_accum option?

opt.lg_prof_interval is merely a dump triggering mechanism.  opt.prof_accum controls whether cumulative stats are collected at all.

Jason

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20151106/eddf7996/attachment.html>


More information about the jemalloc-discuss mailing list