diff options
author | Jason Evans <jasone@canonware.com> | 2015-01-26 05:16:57 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-01-26 05:21:35 (GMT) |
commit | 5b8ed5b7c91939f64f14fc48be84ed20e3f023f4 (patch) | |
tree | 27e35ebb42a1fa6e5dbe7f234624ed7c5362a349 /doc | |
parent | 41f2e692f664da683ae694b17630f5e186aa454c (diff) | |
download | jemalloc-5b8ed5b7c91939f64f14fc48be84ed20e3f023f4.zip jemalloc-5b8ed5b7c91939f64f14fc48be84ed20e3f023f4.tar.gz jemalloc-5b8ed5b7c91939f64f14fc48be84ed20e3f023f4.tar.bz2 |
Implement the prof.gdump mallctl.
This feature makes it possible to toggle the gdump feature on/off during
program execution, whereas the the opt.prof_dump mallctl value can only
be set during program startup.
This resolves #72.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/jemalloc.xml.in | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in index 08fd4eb..739b33a 100644 --- a/doc/jemalloc.xml.in +++ b/doc/jemalloc.xml.in @@ -1215,13 +1215,11 @@ malloc_conf = "xmalloc:true";]]></programlisting> <literal>r-</literal> [<option>--enable-prof</option>] </term> - <listitem><para>Trigger a memory profile dump every time the total - virtual memory exceeds the previous maximum. Profiles are dumped to - files named according to the pattern - <filename><prefix>.<pid>.<seq>.u<useq>.heap</filename>, - where <literal><prefix></literal> is controlled by the <link - linkend="opt.prof_prefix"><mallctl>opt.prof_prefix</mallctl></link> - option. This option is disabled by default.</para></listitem> + <listitem><para>Set the initial state of <link + linkend="prof.gdump"><mallctl>prof.gdump</mallctl></link>, which when + enabled triggers a memory profile dump every time the total virtual + memory exceeds the previous maximum. This option is disabled by + default.</para></listitem> </varlistentry> <varlistentry id="opt.prof_final"> @@ -1687,6 +1685,22 @@ malloc_conf = "xmalloc:true";]]></programlisting> option.</para></listitem> </varlistentry> + <varlistentry id="prof.gdump"> + <term> + <mallctl>prof.gdump</mallctl> + (<type>bool</type>) + <literal>rw</literal> + [<option>--enable-prof</option>] + </term> + <listitem><para>When enabled, trigger a memory profile dump every time + the total virtual memory exceeds the previous maximum. Profiles are + dumped to files named according to the pattern + <filename><prefix>.<pid>.<seq>.u<useq>.heap</filename>, + where <literal><prefix></literal> is controlled by the <link + linkend="opt.prof_prefix"><mallctl>opt.prof_prefix</mallctl></link> + option.</para></listitem> + </varlistentry> + <varlistentry id="prof.reset"> <term> <mallctl>prof.reset</mallctl> |